Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.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(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:33: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.0009287/0.0009288, allocations: 182.8 kB / 8.137 MB, free: 2.191 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.9 MB, free: 2.996 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.0008644/0.0008644, allocations: 103.4 kB / 280.8 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5971/0.5971, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3031/0.9002, allocations: 88.97 MB / 0.5283 GB, free: 52.38 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/1.004, allocations: 82.84 MB / 0.6092 GB, free: 3.469 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4323/1.436, allocations: 127.6 MB / 0.7338 GB, free: 2.43 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 8.359e-05/1.436, allocations: 53.98 kB / 0.7338 GB, free: 2.406 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.01309/1.449, allocations: 5.832 MB / 0.7395 GB, free: 13.37 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/1.449, allocations: 16 kB / 0.7395 GB, free: 13.35 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.301e-05/1.449, allocations: 43.52 kB / 0.7396 GB, free: 13.31 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/1.45, allocations: 313.5 kB / 0.7399 GB, free: 12.98 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/1.45, allocations: 15.92 kB / 0.7399 GB, free: 12.97 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/1.45, allocations: 20 kB / 0.7399 GB, free: 12.95 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004028/1.45, allocations: 301 kB / 0.7402 GB, free: 12.74 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/1.451, allocations: 340.4 kB / 0.7405 GB, free: 12.47 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/1.451, allocations: 0 / 0.7405 GB, free: 12.47 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/1.451, allocations: 0 / 0.7405 GB, free: 12.47 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.451, allocations: 12 kB / 0.7405 GB, free: 12.46 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/1.452, allocations: 1.215 MB / 0.7417 GB, free: 11.37 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/1.453, allocations: 272.9 kB / 0.742 GB, free: 11.16 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/1.453, allocations: 177.7 kB / 0.7421 GB, free: 11.04 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/1.453, allocations: 4 kB / 0.7421 GB, free: 11.03 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/1.453, allocations: 252.1 kB / 0.7424 GB, free: 10.8 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=30): time 1.432e-06/1.453, allocations: 3.938 kB / 0.7424 GB, free: 10.8 MB / 0.5109 GB Notification: Performance of matching and sorting (n=30): time 0.0005789/1.454, allocations: 394.2 kB / 0.7428 GB, free: 10.48 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/1.454, allocations: 170.2 kB / 0.7429 GB, free: 10.28 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/1.454, allocations: 254.8 kB / 0.7432 GB, free: 10.06 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/1.454, allocations: 33.14 kB / 0.7432 GB, free: 10.02 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/1.454, allocations: 169.3 kB / 0.7434 GB, free: 9.867 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/1.454, allocations: 87 kB / 0.7434 GB, free: 9.793 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/1.454, allocations: 0 / 0.7434 GB, free: 9.793 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/1.454, allocations: 341.8 kB / 0.7438 GB, free: 9.461 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/1.455, allocations: 158.8 kB / 0.7439 GB, free: 9.348 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/1.455, allocations: 241.8 kB / 0.7441 GB, free: 9.141 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/1.455, allocations: 201.1 kB / 0.7443 GB, free: 8.992 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.455, allocations: 0 / 0.7443 GB, free: 8.992 MB / 0.5109 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006656/1.456, allocations: 0.5215 MB / 0.7448 GB, free: 8.562 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/1.456, allocations: 4 kB / 0.7448 GB, free: 8.559 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.456, allocations: 0 / 0.7448 GB, free: 8.559 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002889/1.456, allocations: 125 kB / 0.745 GB, free: 8.453 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/1.456, allocations: 59.22 kB / 0.745 GB, free: 8.398 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/1.458, allocations: 2.011 MB / 0.747 GB, free: 6.516 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/1.458, allocations: 55.66 kB / 0.747 GB, free: 6.461 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/1.458, allocations: 15.88 kB / 0.7471 GB, free: 6.449 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition5,$PRE.B[1].open,B[1].open,$whenCondition3,$PRE.B[2].open,B[2].open,$whenCondition1,$PRE.B[3].open,B[3].open,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B[1].G,B[1].G,$PRE.B[2].G,B[2].G,$PRE.B[3].G,B[3].G) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.843e-05/1.458, allocations: 116.9 kB / 0.7472 GB, free: 6.328 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/1.458, allocations: 31.84 kB / 0.7472 GB, free: 6.297 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.121e-05/1.458, allocations: 32.84 kB / 0.7472 GB, free: 6.285 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/1.458, allocations: 3.938 kB / 0.7472 GB, free: 6.281 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.458, allocations: 7.984 kB / 0.7472 GB, free: 6.273 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.459, allocations: 4 kB / 0.7472 GB, free: 6.27 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/1.459, allocations: 335.6 kB / 0.7476 GB, free: 5.961 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.459, allocations: 3.938 kB / 0.7476 GB, free: 5.957 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/1.459, allocations: 19.98 kB / 0.7476 GB, free: 5.938 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002358/1.459, allocations: 113 kB / 0.7477 GB, free: 5.844 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/1.459, allocations: 0 / 0.7477 GB, free: 5.844 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/1.461, allocations: 2.03 MB / 0.7497 GB, free: 3.945 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.461, allocations: 0 / 0.7497 GB, free: 3.945 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006939/1.462, allocations: 0.5938 MB / 0.7503 GB, free: 3.465 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009374/1.463, allocations: 1.159 MB / 0.7514 GB, free: 2.477 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.284e-05/1.463, allocations: 104.8 kB / 0.7515 GB, free: 2.355 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/1.463, allocations: 7.938 kB / 0.7515 GB, free: 2.352 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/1.463, allocations: 44.02 kB / 0.7515 GB, free: 2.309 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/1.463, allocations: 15.97 kB / 0.7516 GB, free: 2.293 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/1.463, allocations: 11.06 kB / 0.7516 GB, free: 2.285 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001384/1.463, allocations: 198 kB / 0.7518 GB, free: 2.125 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0008786/1.464, allocations: 115.7 kB / 0.7519 GB, free: 2.012 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (firstOrder.y) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,B[1].open,B[1].G,B[2].open,B[2].G,B[3].open,B[3].G) * Number of discrete states: 3 (B[3].open,B[2].open,B[1].open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002442/1.464, allocations: 138.3 kB / 0.752 GB, free: 1.883 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.000654/1.465, allocations: 492.2 kB / 0.7525 GB, free: 1.484 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.465, allocations: 7.938 kB / 0.7525 GB, free: 1.477 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0003689/1.465, allocations: 303.6 kB / 0.7528 GB, free: 1.215 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/1.466, allocations: 40.56 kB / 0.7528 GB, free: 1.184 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007825/1.466, allocations: 0.5167 MB / 0.7533 GB, free: 0.7031 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/1.467, allocations: 0.8697 MB / 0.7542 GB, free: 15.82 MB / 0.5265 GB Notification: Performance of SimCode: time 2.51e-07/1.467, allocations: 0 / 0.7542 GB, free: 15.82 MB / 0.5265 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe 2>&1)