Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_dev_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.001013/0.001013, allocations: 177.7 kB / 7.457 MB, free: 1.539 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 221.4 MB / 229.3 MB, free: 8.434 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000979/0.000979, allocations: 101.8 kB / 280.1 MB, free: 7.82 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.47/0.47, allocations: 78.9 MB / 409.8 MB, free: 4.805 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1724/0.6425, allocations: 75.65 MB / 485.4 MB, free: 9.453 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.9818, allocations: 69.5 MB / 0.5419 GB, free: 14.92 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1212/1.103, allocations: 92.13 MB / 0.6319 GB, free: 2.645 MB / 450.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/1.103, allocations: 67.97 kB / 0.632 GB, free: 2.578 MB / 450.8 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.03228/1.136, allocations: 11.96 MB / 0.6437 GB, free: 6.473 MB / 466.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/1.136, allocations: 12 kB / 0.6437 GB, free: 6.461 MB / 466.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/1.137, allocations: 227 kB / 0.6439 GB, free: 6.238 MB / 466.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009556/1.138, allocations: 459 kB / 0.6443 GB, free: 5.75 MB / 466.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/1.138, allocations: 181.4 kB / 0.6445 GB, free: 5.543 MB / 466.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/1.138, allocations: 28 kB / 0.6445 GB, free: 5.516 MB / 466.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007184/1.139, allocations: 385.9 kB / 0.6449 GB, free: 5.141 MB / 466.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007181/1.14, allocations: 443.8 kB / 0.6453 GB, free: 4.691 MB / 466.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/1.14, allocations: 0 / 0.6453 GB, free: 4.691 MB / 466.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/1.14, allocations: 4 kB / 0.6453 GB, free: 4.688 MB / 466.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/1.14, allocations: 11.94 kB / 0.6453 GB, free: 4.676 MB / 466.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/1.143, allocations: 2.138 MB / 0.6474 GB, free: 2.367 MB / 466.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/1.144, allocations: 369.9 kB / 0.6478 GB, free: 1.988 MB / 466.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/1.144, allocations: 197.7 kB / 0.648 GB, free: 1.789 MB / 466.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.223e-05/1.144, allocations: 4 kB / 0.648 GB, free: 1.785 MB / 466.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004131/1.144, allocations: 299.4 kB / 0.6483 GB, free: 1.473 MB / 466.8 MB Notification: Performance of pre-optimization done (n=40): time 2.274e-06/1.144, allocations: 0 / 0.6483 GB, free: 1.473 MB / 466.8 MB Notification: Performance of matching and sorting (n=40): time 0.003834/1.148, allocations: 1.336 MB / 0.6496 GB, free: 124 kB / 466.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/1.148, allocations: 85.05 kB / 0.6496 GB, free: 20 kB / 466.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/1.149, allocations: 333.3 kB / 0.65 GB, free: 15.69 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/1.149, allocations: 25.7 kB / 0.65 GB, free: 15.66 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/1.149, allocations: 224 kB / 0.6502 GB, free: 15.43 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/1.149, allocations: 134 kB / 0.6503 GB, free: 15.3 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/1.149, allocations: 0 / 0.6503 GB, free: 15.3 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 0.0002024/1.15, allocations: 358.8 kB / 0.6507 GB, free: 14.95 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/1.15, allocations: 188.9 kB / 0.6508 GB, free: 14.76 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/1.15, allocations: 222.1 kB / 0.6511 GB, free: 14.54 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/1.151, allocations: 199.7 kB / 0.6513 GB, free: 14.34 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.151, allocations: 4 kB / 0.6513 GB, free: 14.34 MB / 482.8 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003953/1.155, allocations: 1.398 MB / 0.6526 GB, free: 12.92 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.155, allocations: 4 kB / 0.6526 GB, free: 12.92 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.155, allocations: 0 / 0.6526 GB, free: 12.92 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/1.157, allocations: 0.7137 MB / 0.6533 GB, free: 12.19 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/1.157, allocations: 43.92 kB / 0.6534 GB, free: 12.15 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005167/1.163, allocations: 3.769 MB / 0.657 GB, free: 8.148 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/1.163, allocations: 83.62 kB / 0.6571 GB, free: 8.066 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/1.163, allocations: 16 kB / 0.6571 GB, free: 8.051 MB / 482.8 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.0001909/1.163, allocations: 128.6 kB / 0.6573 GB, free: 7.926 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.377e-05/1.164, allocations: 55.33 kB / 0.6573 GB, free: 7.871 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003882/1.167, allocations: 1.371 MB / 0.6587 GB, free: 6.477 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/1.167, allocations: 4 kB / 0.6587 GB, free: 6.473 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.167, allocations: 4 kB / 0.6587 GB, free: 6.469 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.167, allocations: 4 kB / 0.6587 GB, free: 6.465 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007579/1.168, allocations: 0.5482 MB / 0.6592 GB, free: 5.879 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.168, allocations: 4 kB / 0.6592 GB, free: 5.875 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/1.168, allocations: 27.98 kB / 0.6592 GB, free: 5.848 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002235/1.171, allocations: 0.7141 MB / 0.6599 GB, free: 5.121 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/1.171, allocations: 0 / 0.6599 GB, free: 5.121 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00539/1.176, allocations: 3.754 MB / 0.6636 GB, free: 1.137 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.176, allocations: 0 / 0.6636 GB, free: 1.137 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2886/1.465, allocations: 1.392 MB / 0.665 GB, free: 48.78 MB / 482.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003657/1.468, allocations: 1.773 MB / 0.6667 GB, free: 48.29 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/1.469, allocations: 128.2 kB / 0.6668 GB, free: 48.19 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/1.469, allocations: 3.625 kB / 0.6668 GB, free: 48.19 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/1.469, allocations: 63.89 kB / 0.6669 GB, free: 48.19 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/1.469, allocations: 49.53 kB / 0.6669 GB, free: 48.19 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/1.469, allocations: 11.69 kB / 0.6669 GB, free: 48.19 MB / 482.8 MB Notification: Performance of sort global known variables: time 0.000281/1.47, allocations: 258.3 kB / 0.6672 GB, free: 48.1 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.001118/1.471, allocations: 183.9 kB / 0.6674 GB, free: 48.1 MB / 482.8 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.0001984/1.471, allocations: 104.7 kB / 0.6675 GB, free: 48.02 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.00252/1.474, allocations: 1.159 MB / 0.6686 GB, free: 47.61 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.474, allocations: 0 / 0.6686 GB, free: 47.61 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001943/1.476, allocations: 0.9327 MB / 0.6695 GB, free: 47.19 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/1.476, allocations: 20.69 kB / 0.6695 GB, free: 47.19 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/1.478, allocations: 0.659 MB / 0.6702 GB, free: 46.97 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/1.478, allocations: 0.8926 MB / 0.671 GB, free: 46.26 MB / 482.8 MB Notification: Performance of SimCode: time 6.51e-07/1.478, allocations: 0 / 0.671 GB, free: 46.26 MB / 482.8 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)