Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_OpenIPSL.Tests.Events.TestBreaker") translateModel(OpenIPSL.Tests.Events.TestBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.002022/0.002022, allocations: 173.7 kB / 7.458 MB, free: 2.488 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.051/1.051, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.000815/0.0008149, allocations: 104.2 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3647/0.3647, allocations: 78.11 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.442e-06, allocations: 4 kB / 484.4 MB, free: 4.598 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2398, allocations: 69.33 MB / 0.5407 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09821/0.3381, allocations: 91.55 MB / 0.6301 GB, free: 13.41 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.3383, allocations: 71.95 kB / 0.6302 GB, free: 13.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.02821/0.3665, allocations: 10.82 MB / 0.6408 GB, free: 2.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.597e-05/0.3666, allocations: 15.94 kB / 0.6408 GB, free: 2.414 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.002468/0.3691, allocations: 1.018 MB / 0.6418 GB, free: 1.344 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3691, allocations: 8.031 kB / 0.6418 GB, free: 1.336 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.3703, allocations: 227 kB / 0.642 GB, free: 1.113 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009488/0.3712, allocations: 457.7 kB / 0.6424 GB, free: 0.625 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.3714, allocations: 185.4 kB / 0.6426 GB, free: 424 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.419e-05/0.3715, allocations: 24 kB / 0.6426 GB, free: 400 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007235/0.3723, allocations: 378 kB / 0.643 GB, free: 24 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.373, allocations: 443.9 kB / 0.6434 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.373, allocations: 3.938 kB / 0.6434 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.3731, allocations: 0 / 0.6434 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.3731, allocations: 8 kB / 0.6434 GB, free: 15.56 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003077/0.3762, allocations: 2.141 MB / 0.6455 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.3768, allocations: 373.9 kB / 0.6459 GB, free: 12.87 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.3771, allocations: 205.7 kB / 0.6461 GB, free: 12.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.038e-05/0.3772, allocations: 4 kB / 0.6461 GB, free: 12.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004086/0.3776, allocations: 291.4 kB / 0.6464 GB, free: 12.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=40): time 1.774e-06/0.3776, allocations: 0 / 0.6464 GB, free: 12.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=40): time 0.003642/0.3812, allocations: 1.337 MB / 0.6477 GB, free: 11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.3813, allocations: 85.05 kB / 0.6478 GB, free: 10.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.3817, allocations: 333.2 kB / 0.6481 GB, free: 10.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.3817, allocations: 29.7 kB / 0.6481 GB, free: 10.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.3819, allocations: 216 kB / 0.6483 GB, free: 10.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.382, allocations: 134 kB / 0.6484 GB, free: 10.19 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.382, allocations: 0 / 0.6484 GB, free: 10.19 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3822, allocations: 362.8 kB / 0.6488 GB, free: 9.828 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.3825, allocations: 188.9 kB / 0.649 GB, free: 9.645 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.3828, allocations: 226 kB / 0.6492 GB, free: 9.418 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.3831, allocations: 203.8 kB / 0.6494 GB, free: 9.219 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3832, allocations: 0 / 0.6494 GB, free: 9.219 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003597/0.3868, allocations: 1.398 MB / 0.6507 GB, free: 7.801 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3868, allocations: 4 kB / 0.6507 GB, free: 7.797 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3868, allocations: 4 kB / 0.6507 GB, free: 7.793 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002192/0.389, allocations: 0.7136 MB / 0.6514 GB, free: 7.066 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.3893, allocations: 39.92 kB / 0.6515 GB, free: 7.027 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005004/0.3943, allocations: 3.769 MB / 0.6552 GB, free: 3.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.3949, allocations: 83.62 kB / 0.6552 GB, free: 2.938 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/0.3949, allocations: 16 kB / 0.6553 GB, free: 2.922 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.0001749/0.3951, allocations: 112.9 kB / 0.6554 GB, free: 2.805 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3952, allocations: 51.34 kB / 0.6554 GB, free: 2.754 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.399, allocations: 1.376 MB / 0.6568 GB, free: 1.363 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.399, allocations: 8 kB / 0.6568 GB, free: 1.355 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.399, allocations: 3.938 kB / 0.6568 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.399, allocations: 0 / 0.6568 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00069/0.3997, allocations: 0.5524 MB / 0.6573 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3997, allocations: 7.938 kB / 0.6573 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.3999, allocations: 27.98 kB / 0.6573 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002164/0.4021, allocations: 0.7098 MB / 0.658 GB, free: 4 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.4021, allocations: 0 / 0.658 GB, free: 4 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004968/0.4071, allocations: 3.754 MB / 0.6617 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.4071, allocations: 3.938 kB / 0.6617 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003646/0.4108, allocations: 1.394 MB / 0.6631 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.4109, allocations: 132.4 kB / 0.6632 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/0.411, allocations: 3.906 kB / 0.6632 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/0.4115, allocations: 59.95 kB / 0.6633 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.4116, allocations: 55.91 kB / 0.6633 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.4117, allocations: 4.25 kB / 0.6633 GB, free: 10.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002851/0.412, allocations: 263.2 kB / 0.6636 GB, free: 10.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005902/0.4126, allocations: 171.7 kB / 0.6637 GB, free: 9.895 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.0001806/0.4128, allocations: 111 kB / 0.6638 GB, free: 9.773 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.4153, allocations: 1.163 MB / 0.665 GB, free: 8.547 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4153, allocations: 3.938 kB / 0.665 GB, free: 8.543 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002057/0.4174, allocations: 0.9284 MB / 0.6659 GB, free: 7.551 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.4177, allocations: 33.8 kB / 0.6659 GB, free: 7.516 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.4197, allocations: 0.6485 MB / 0.6665 GB, free: 6.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005592/0.4203, allocations: 0.8935 MB / 0.6674 GB, free: 5.922 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4203, allocations: 0 / 0.6674 GB, free: 5.922 MB / 490.7 MB Notification: Performance of Templates: time 0.1418/0.5621, allocations: 7.971 MB / 0.6752 GB, free: 153.8 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.sim & ./OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)