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: "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) [: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.002066/0.002066, allocations: 184.8 kB / 7.463 MB, free: 2.5 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.075/1.075, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.0008642/0.0008642, allocations: 108.8 kB / 280.1 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3713/0.3713, allocations: 78.09 MB / 409 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1262/0.4976, allocations: 75.49 MB / 484.5 MB, free: 4.461 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.7356, allocations: 69.34 MB / 0.5408 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09439/0.83, allocations: 91.55 MB / 0.6302 GB, free: 13.4 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.8303, allocations: 75.95 kB / 0.6303 GB, free: 13.32 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.02903/0.8593, allocations: 11.85 MB / 0.6419 GB, free: 1.328 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.8593, allocations: 8 kB / 0.6419 GB, free: 1.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.8604, allocations: 227 kB / 0.6421 GB, free: 1.098 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/0.8612, allocations: 461.7 kB / 0.6425 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.8614, allocations: 185.4 kB / 0.6427 GB, free: 404 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/0.8614, allocations: 23.98 kB / 0.6427 GB, free: 380 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006801/0.8621, allocations: 386 kB / 0.6431 GB, free: 15.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006734/0.8628, allocations: 435.9 kB / 0.6435 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.8628, allocations: 0 / 0.6435 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.985e-05/0.8629, allocations: 4 kB / 0.6435 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.8629, allocations: 8 kB / 0.6435 GB, free: 15.54 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.8656, allocations: 2.142 MB / 0.6456 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.8662, allocations: 366 kB / 0.646 GB, free: 12.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.8665, allocations: 197.7 kB / 0.6462 GB, free: 12.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.003e-05/0.8665, allocations: 15.92 kB / 0.6462 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003798/0.8669, allocations: 291.4 kB / 0.6465 GB, free: 12.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=40): time 1.563e-06/0.8669, allocations: 0 / 0.6465 GB, free: 12.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=40): time 0.003609/0.8706, allocations: 1.337 MB / 0.6478 GB, free: 10.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.8706, allocations: 85.05 kB / 0.6479 GB, free: 10.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.871, allocations: 337.2 kB / 0.6482 GB, free: 10.55 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.871, allocations: 25.7 kB / 0.6482 GB, free: 10.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.8712, allocations: 220 kB / 0.6484 GB, free: 10.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.8713, allocations: 134 kB / 0.6485 GB, free: 10.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.8713, allocations: 0 / 0.6485 GB, free: 10.17 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.8714, allocations: 354.8 kB / 0.6489 GB, free: 9.812 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.8717, allocations: 192.9 kB / 0.6491 GB, free: 9.625 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.872, allocations: 222.1 kB / 0.6493 GB, free: 9.402 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.8724, allocations: 207.7 kB / 0.6495 GB, free: 9.199 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8724, allocations: 0 / 0.6495 GB, free: 9.199 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003545/0.8759, allocations: 1.405 MB / 0.6508 GB, free: 7.773 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.8759, allocations: 4 kB / 0.6508 GB, free: 7.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.876, allocations: 0 / 0.6508 GB, free: 7.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/0.8781, allocations: 0.7137 MB / 0.6515 GB, free: 7.043 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.8784, allocations: 39.98 kB / 0.6516 GB, free: 7.004 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004636/0.883, allocations: 3.766 MB / 0.6553 GB, free: 3.004 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/0.8836, allocations: 87.56 kB / 0.6553 GB, free: 2.918 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.8836, allocations: 12 kB / 0.6554 GB, free: 2.906 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.0001524/0.8838, allocations: 113 kB / 0.6555 GB, free: 2.789 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.8839, allocations: 55.33 kB / 0.6555 GB, free: 2.734 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003599/0.8875, allocations: 1.372 MB / 0.6569 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.8875, allocations: 8 kB / 0.6569 GB, free: 1.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8875, allocations: 4.25 kB / 0.6569 GB, free: 1.336 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.8875, allocations: 0 / 0.6569 GB, free: 1.336 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005657/0.8881, allocations: 0.5522 MB / 0.6574 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.8881, allocations: 4 kB / 0.6574 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.8882, allocations: 31.86 kB / 0.6574 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/0.8904, allocations: 0.7098 MB / 0.6581 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.8904, allocations: 4 kB / 0.6581 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00463/0.8951, allocations: 3.754 MB / 0.6618 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8951, allocations: 0 / 0.6618 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003462/0.8985, allocations: 1.394 MB / 0.6632 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003525/0.9021, allocations: 1.764 MB / 0.6649 GB, free: 8.758 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.83e-05/0.9022, allocations: 136.3 kB / 0.665 GB, free: 8.605 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.391e-05/0.9023, allocations: 0 / 0.665 GB, free: 8.605 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.9027, allocations: 60.2 kB / 0.6651 GB, free: 8.547 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.9028, allocations: 59.78 kB / 0.6651 GB, free: 8.488 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.9029, allocations: 12 kB / 0.6651 GB, free: 8.477 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002512/0.9031, allocations: 263.2 kB / 0.6654 GB, free: 8.227 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001045/0.9042, allocations: 179.6 kB / 0.6656 GB, free: 8.051 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.0001558/0.9044, allocations: 115 kB / 0.6657 GB, free: 7.926 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002414/0.9068, allocations: 1.159 MB / 0.6668 GB, free: 6.703 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9068, allocations: 0 / 0.6668 GB, free: 6.703 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00196/0.9088, allocations: 0.9244 MB / 0.6677 GB, free: 5.715 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.9091, allocations: 37.95 kB / 0.6677 GB, free: 5.676 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.911, allocations: 0.6483 MB / 0.6684 GB, free: 5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.9115, allocations: 0.8935 MB / 0.6692 GB, free: 4.082 MB / 490.7 MB Notification: Performance of SimCode: time 1.673e-06/0.9115, allocations: 0 / 0.6692 GB, free: 4.082 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)