Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Events.TestBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Events.TestBreaker") translateModel(OpenIPSL.Tests.Events.TestBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Events.TestBreaker") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004367/0.004367, allocations: 185.4 kB / 7.459 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 221.4 MB / 229.3 MB, free: 3.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009665/0.0009664, allocations: 107.8 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4202/0.4202, allocations: 78.06 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.15e-06/5.19e-06, allocations: 0 / 484.3 MB, free: 4.453 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2738, allocations: 69.34 MB / 0.5407 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.3835, allocations: 91.56 MB / 0.6301 GB, free: 13.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.3837, allocations: 67.97 kB / 0.6302 GB, free: 13.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.03193/0.4157, allocations: 10.82 MB / 0.6407 GB, free: 2.328 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.349e-05/0.4157, allocations: 12.22 kB / 0.6408 GB, free: 2.316 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.00249/0.4182, allocations: 1.022 MB / 0.6418 GB, free: 1.242 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.4183, allocations: 8.031 kB / 0.6418 GB, free: 1.234 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.4195, allocations: 223 kB / 0.642 GB, free: 1.016 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000897/0.4204, allocations: 465.6 kB / 0.6424 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.4206, allocations: 181.4 kB / 0.6426 GB, free: 320 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/0.4207, allocations: 28 kB / 0.6426 GB, free: 292 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007587/0.4214, allocations: 381.9 kB / 0.643 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007747/0.4222, allocations: 443.9 kB / 0.6434 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4222, allocations: 3.984 kB / 0.6434 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.4223, allocations: 0 / 0.6434 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.4223, allocations: 8 kB / 0.6434 GB, free: 15.45 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.4254, allocations: 2.147 MB / 0.6455 GB, free: 13.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006291/0.4261, allocations: 362 kB / 0.6459 GB, free: 12.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.4264, allocations: 213.7 kB / 0.6461 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.287e-05/0.4265, allocations: 7.984 kB / 0.6461 GB, free: 12.54 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004423/0.4269, allocations: 291.4 kB / 0.6463 GB, free: 12.24 MB / 474.7 MB Notification: Performance of pre-optimization done (n=40): time 1.933e-06/0.427, allocations: 0 / 0.6463 GB, free: 12.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=40): time 0.004038/0.431, allocations: 1.333 MB / 0.6476 GB, free: 10.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.4311, allocations: 85.05 kB / 0.6477 GB, free: 10.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.4315, allocations: 337.2 kB / 0.648 GB, free: 10.46 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.4315, allocations: 33.64 kB / 0.6481 GB, free: 10.42 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.4317, allocations: 216 kB / 0.6483 GB, free: 10.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.4318, allocations: 130 kB / 0.6484 GB, free: 10.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.4318, allocations: 0 / 0.6484 GB, free: 10.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.432, allocations: 362.8 kB / 0.6488 GB, free: 9.711 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.4323, allocations: 184.9 kB / 0.6489 GB, free: 9.531 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/0.4327, allocations: 226.1 kB / 0.6491 GB, free: 9.305 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.433, allocations: 195.9 kB / 0.6493 GB, free: 9.113 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.433, allocations: 0 / 0.6493 GB, free: 9.113 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004017/0.437, allocations: 1.409 MB / 0.6507 GB, free: 7.684 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4371, allocations: 4 kB / 0.6507 GB, free: 7.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4371, allocations: 4 kB / 0.6507 GB, free: 7.676 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/0.4395, allocations: 0.702 MB / 0.6514 GB, free: 6.961 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.4398, allocations: 43.91 kB / 0.6514 GB, free: 6.918 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005337/0.4452, allocations: 3.773 MB / 0.6551 GB, free: 2.914 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000618/0.4458, allocations: 83.64 kB / 0.6552 GB, free: 2.832 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.4459, allocations: 12.23 kB / 0.6552 GB, free: 2.82 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breakerPara.vs.im:VARIABLE() "Imaginary part of complex number" type: Real breakerPara.vs.re:VARIABLE() "Real part of complex number" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breakerExt.vs.re:VARIABLE() "Real part of complex number" type: Real breakerExt.vs.im:VARIABLE() "Imaginary part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,breakerPara.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 2,6 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001962/0.4461, allocations: 116.9 kB / 0.6553 GB, free: 2.699 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.4462, allocations: 51.34 kB / 0.6554 GB, free: 2.648 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/0.4503, allocations: 1.372 MB / 0.6567 GB, free: 1.262 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4503, allocations: 11.94 kB / 0.6567 GB, free: 1.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4503, allocations: 0 / 0.6567 GB, free: 1.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.4504, allocations: 3.984 kB / 0.6567 GB, free: 1.246 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006428/0.451, allocations: 0.5522 MB / 0.6573 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.451, allocations: 0 / 0.6573 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.4512, allocations: 27.92 kB / 0.6573 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002344/0.4536, allocations: 0.7138 MB / 0.658 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.4536, allocations: 3.984 kB / 0.658 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005337/0.459, allocations: 3.765 MB / 0.6617 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.459, allocations: 256 / 0.6617 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003983/0.463, allocations: 1.39 MB / 0.663 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.4631, allocations: 132.4 kB / 0.6632 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-05/0.4632, allocations: 7.906 kB / 0.6632 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/0.4637, allocations: 63.94 kB / 0.6632 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.4639, allocations: 47.92 kB / 0.6633 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.4639, allocations: 19.98 kB / 0.6633 GB, free: 10.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002982/0.4643, allocations: 255.2 kB / 0.6635 GB, free: 9.945 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006083/0.4649, allocations: 175.7 kB / 0.6637 GB, free: 9.773 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart,breakerPara.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 2,6 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000184/0.4651, allocations: 103 kB / 0.6638 GB, free: 9.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002757/0.4678, allocations: 1.155 MB / 0.6649 GB, free: 8.441 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4678, allocations: 4 kB / 0.6649 GB, free: 8.438 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002221/0.4701, allocations: 0.9413 MB / 0.6659 GB, free: 7.434 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.4704, allocations: 29.86 kB / 0.6659 GB, free: 7.402 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.4725, allocations: 0.6485 MB / 0.6665 GB, free: 6.727 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005208/0.473, allocations: 0.8896 MB / 0.6674 GB, free: 5.812 MB / 490.7 MB Notification: Performance of SimCode: time 2.044e-06/0.473, allocations: 0 / 0.6674 GB, free: 5.812 MB / 490.7 MB Notification: Performance of Templates: time 0.1761/0.6492, allocations: 7.958 MB / 0.6752 GB, free: 153.8 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.sim & ./OpenIPSL_OpenIPSL.Tests.Events.TestBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)