Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_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.BreakerNetworkDelayed_3_Array,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_3_Array",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_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.0009902/0.0009903, allocations: 181.5 kB / 8.134 MB, free: 2.215 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.032/1.032, allocations: 221.4 MB / 229.9 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.0008582/0.0008582, allocations: 89.44 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5902/0.5902, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3036/0.8939, allocations: 88.96 MB / 0.5283 GB, free: 52.43 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.997, allocations: 82.84 MB / 0.6092 GB, free: 3.496 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4228/1.42, allocations: 127.6 MB / 0.7339 GB, free: 2.637 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001108/1.42, allocations: 47.23 kB / 0.7339 GB, free: 2.617 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.01401/1.434, allocations: 6.314 MB / 0.7401 GB, free: 13.11 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/1.434, allocations: 12 kB / 0.7401 GB, free: 13.1 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.926e-05/1.434, allocations: 39.53 kB / 0.7401 GB, free: 13.06 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/1.435, allocations: 331 kB / 0.7404 GB, free: 12.71 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/1.435, allocations: 12 kB / 0.7404 GB, free: 12.7 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/1.435, allocations: 20 kB / 0.7405 GB, free: 12.68 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004484/1.435, allocations: 348 kB / 0.7408 GB, free: 12.44 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/1.436, allocations: 390.2 kB / 0.7412 GB, free: 12.13 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.436, allocations: 0 / 0.7412 GB, free: 12.13 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/1.436, allocations: 7.984 kB / 0.7412 GB, free: 12.12 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/1.436, allocations: 6 kB / 0.7412 GB, free: 12.12 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/1.438, allocations: 1.281 MB / 0.7424 GB, free: 10.97 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/1.438, allocations: 290.1 kB / 0.7427 GB, free: 10.75 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/1.438, allocations: 219.6 kB / 0.7429 GB, free: 10.6 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/1.438, allocations: 8.984 kB / 0.7429 GB, free: 10.59 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/1.439, allocations: 0.4977 MB / 0.7434 GB, free: 10.09 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=42): time 1.262e-06/1.439, allocations: 0 / 0.7434 GB, free: 10.09 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42): time 0.0006967/1.439, allocations: 483.4 kB / 0.7439 GB, free: 9.703 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/1.439, allocations: 435.8 kB / 0.7443 GB, free: 9.191 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/1.44, allocations: 266.4 kB / 0.7445 GB, free: 8.969 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/1.44, allocations: 37.69 kB / 0.7446 GB, free: 8.926 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/1.44, allocations: 165.3 kB / 0.7447 GB, free: 8.773 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 7.583e-05/1.44, allocations: 109.2 kB / 0.7448 GB, free: 8.684 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/1.44, allocations: 3.938 kB / 0.7448 GB, free: 8.68 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.156e-05/1.44, allocations: 351.7 kB / 0.7452 GB, free: 8.34 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/1.44, allocations: 210.9 kB / 0.7454 GB, free: 8.195 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/1.441, allocations: 301.5 kB / 0.7457 GB, free: 7.941 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/1.441, allocations: 233.8 kB / 0.7459 GB, free: 7.773 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.441, allocations: 0 / 0.7459 GB, free: 7.773 MB / 0.5109 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007886/1.442, allocations: 0.6322 MB / 0.7465 GB, free: 7.254 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/1.442, allocations: 4 kB / 0.7465 GB, free: 7.25 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.442, allocations: 0 / 0.7465 GB, free: 7.25 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003021/1.442, allocations: 118.7 kB / 0.7466 GB, free: 7.148 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/1.442, allocations: 55.59 kB / 0.7467 GB, free: 7.098 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/1.444, allocations: 2.025 MB / 0.7486 GB, free: 5.207 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/1.444, allocations: 75.98 kB / 0.7487 GB, free: 5.133 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/1.444, allocations: 19.25 kB / 0.7487 GB, free: 5.117 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: 36 ($whenCondition11,$PRE.B[1].open,B[1].open,$whenCondition9,$PRE.B[2].open,B[2].open,$whenCondition7,$PRE.B[3].open,B[3].open,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$PRE.B[1].triggered,B[1].triggered,$PRE.B[1].G,B[1].G,$PRE.B[1].timeClose,B[1].timeClose,$PRE.B[2].triggered,B[2].triggered,$PRE.B[2].G,B[2].G,$PRE.B[2].timeClose,B[2].timeClose,$PRE.B[3].triggered,B[3].triggered,$PRE.B[3].G,B[3].G,$PRE.B[3].timeClose,B[3].timeClose) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001908/1.445, allocations: 236.8 kB / 0.749 GB, free: 4.863 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/1.445, allocations: 43.5 kB / 0.749 GB, free: 4.824 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/1.445, allocations: 32.77 kB / 0.749 GB, free: 4.805 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/1.445, allocations: 7.938 kB / 0.749 GB, free: 4.797 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.445, allocations: 4 kB / 0.749 GB, free: 4.793 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.445, allocations: 0 / 0.749 GB, free: 4.793 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/1.445, allocations: 375.5 kB / 0.7494 GB, free: 4.453 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.445, allocations: 0 / 0.7494 GB, free: 4.453 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/1.445, allocations: 23.3 kB / 0.7494 GB, free: 4.434 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002365/1.445, allocations: 114.5 kB / 0.7495 GB, free: 4.336 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/1.445, allocations: 6.562 kB / 0.7495 GB, free: 4.332 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/1.447, allocations: 2.022 MB / 0.7515 GB, free: 2.438 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.447, allocations: 0 / 0.7515 GB, free: 2.438 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009546/1.448, allocations: 0.802 MB / 0.7523 GB, free: 1.809 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001311/1.449, allocations: 1.443 MB / 0.7537 GB, free: 0.6211 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/1.449, allocations: 112.6 kB / 0.7538 GB, free: 0.4961 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.026e-05/1.45, allocations: 23.92 kB / 0.7538 GB, free: 484 kB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/1.45, allocations: 68 kB / 0.7539 GB, free: 416 kB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.45, allocations: 43.12 kB / 0.7539 GB, free: 384 kB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/1.45, allocations: 15.98 kB / 0.754 GB, free: 368 kB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001442/1.45, allocations: 207.3 kB / 0.7542 GB, free: 196 kB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0009053/1.451, allocations: 135.7 kB / 0.7543 GB, free: 60 kB / 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: 24 ($whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,B[1].open,B[1].triggered,B[1].G,B[1].timeClose,B[2].open,B[2].triggered,B[2].G,B[2].timeClose,B[3].open,B[3].triggered,B[3].G,B[3].timeClose) * Number of discrete states: 15 (B[1].timeClose,B[1].triggered,$whenCondition2,$whenCondition1,B[2].timeClose,B[2].triggered,$whenCondition4,$whenCondition3,B[3].timeClose,B[3].triggered,$whenCondition6,$whenCondition5,B[3].open,B[2].open,B[1].open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 3 * 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.0002738/1.451, allocations: 160.3 kB / 0.7544 GB, free: 15.91 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.0008183/1.452, allocations: 0.6935 MB / 0.7551 GB, free: 15.32 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.452, allocations: 4.062 kB / 0.7551 GB, free: 15.31 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0005109/1.453, allocations: 499.9 kB / 0.7556 GB, free: 14.89 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/1.453, allocations: 38.28 kB / 0.7556 GB, free: 14.86 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/1.454, allocations: 0.6162 MB / 0.7562 GB, free: 14.3 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/1.454, allocations: 0.8935 MB / 0.7571 GB, free: 13.4 MB / 0.5265 GB Notification: Performance of SimCode: time 2.61e-07/1.454, allocations: 0 / 0.7571 GB, free: 13.4 MB / 0.5265 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_3_Array_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_3_Array.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.pipe 2>&1)