Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.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.ScaledExperiments.BreakerNetwork_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_10_M_10",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.0008914/0.0008915, allocations: 183.8 kB / 8.136 MB, free: 2.223 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.033/1.033, allocations: 221.4 MB / 229.9 MB, free: 3.027 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.0008598/0.0008597, allocations: 93.73 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.597/0.597, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2997/0.8968, allocations: 88.96 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.9983, allocations: 82.84 MB / 0.6092 GB, free: 3.504 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4275/1.426, allocations: 127.6 MB / 0.7338 GB, free: 2.73 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000162/1.426, allocations: 66.47 kB / 0.7339 GB, free: 2.699 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.03262/1.459, allocations: 13.89 MB / 0.7474 GB, free: 6.668 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/1.459, allocations: 11.94 kB / 0.7474 GB, free: 6.656 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/1.459, allocations: 106.9 kB / 0.7475 GB, free: 6.551 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008764/1.46, allocations: 0.5525 MB / 0.7481 GB, free: 6.016 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/1.46, allocations: 27.98 kB / 0.7481 GB, free: 5.988 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/1.46, allocations: 51.91 kB / 0.7482 GB, free: 5.938 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001103/1.461, allocations: 0.849 MB / 0.749 GB, free: 5.328 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/1.462, allocations: 0.8901 MB / 0.7499 GB, free: 4.641 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/1.462, allocations: 11.92 kB / 0.7499 GB, free: 4.629 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.171e-05/1.462, allocations: 4 kB / 0.7499 GB, free: 4.625 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/1.462, allocations: 20 kB / 0.7499 GB, free: 4.605 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004395/1.467, allocations: 3.042 MB / 0.7529 GB, free: 1.965 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007667/1.468, allocations: 0.749 MB / 0.7536 GB, free: 1.398 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/1.468, allocations: 0.4886 MB / 0.7541 GB, free: 1.066 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/1.468, allocations: 4.656 kB / 0.7541 GB, free: 1.062 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006928/1.469, allocations: 0.6653 MB / 0.7547 GB, free: 496 kB / 0.5109 GB Notification: Performance of pre-optimization done (n=86): time 2.414e-06/1.469, allocations: 4 kB / 0.7547 GB, free: 492 kB / 0.5109 GB Notification: Performance of matching and sorting (n=86): time 0.001461/1.47, allocations: 1.065 MB / 0.7558 GB, free: 15.63 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/1.47, allocations: 370.1 kB / 0.7561 GB, free: 15.2 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/1.471, allocations: 0.5261 MB / 0.7566 GB, free: 14.77 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 8.31e-05/1.471, allocations: 53.17 kB / 0.7567 GB, free: 14.71 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/1.471, allocations: 306.9 kB / 0.757 GB, free: 14.44 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/1.471, allocations: 246.6 kB / 0.7572 GB, free: 14.23 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/1.471, allocations: 0 / 0.7572 GB, free: 14.23 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.472, allocations: 389.2 kB / 0.7576 GB, free: 13.88 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/1.472, allocations: 472.2 kB / 0.758 GB, free: 13.54 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006553/1.473, allocations: 0.697 MB / 0.7587 GB, free: 12.93 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/1.473, allocations: 0.5473 MB / 0.7592 GB, free: 12.53 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.473, allocations: 0 / 0.7592 GB, free: 12.53 MB / 0.5265 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001826/1.475, allocations: 1.503 MB / 0.7607 GB, free: 11.33 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.475, allocations: 4 kB / 0.7607 GB, free: 11.32 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.475, allocations: 4 kB / 0.7607 GB, free: 11.32 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007685/1.476, allocations: 404.4 kB / 0.7611 GB, free: 10.98 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/1.476, allocations: 118.4 kB / 0.7612 GB, free: 10.87 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/1.481, allocations: 3.949 MB / 0.7651 GB, free: 7.578 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007067/1.481, allocations: 155.3 kB / 0.7652 GB, free: 7.426 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/1.481, allocations: 30.88 kB / 0.7653 GB, free: 7.402 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition19,$PRE.B[1].open,B[1].open,$whenCondition17,$PRE.B[2].open,B[2].open,$whenCondition15,$PRE.B[3].open,B[3].open,$whenCondition13,$PRE.B[4].open,B[4].open,$whenCondition11,$PRE.B[5].open,B[5].open,$whenCondition9,$PRE.B[6].open,B[6].open,$whenCondition7,$PRE.B[7].open,B[7].open,$whenCondition5,$PRE.B[8].open,B[8].open,$whenCondition3,$PRE.B[9].open,B[9].open,$whenCondition1,$PRE.B[10].open,B[10].open,$whenCondition20,$whenCondition18,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B[1].G,B[1].G,$PRE.B[2].G,B[2].G,$PRE.B[3].G,B[3].G,$PRE.B[4].G,B[4].G,$PRE.B[5].G,B[5].G,$PRE.B[6].G,B[6].G,$PRE.B[7].G,B[7].G,$PRE.B[8].G,B[8].G,$PRE.B[9].G,B[9].G,$PRE.B[10].G,B[10].G) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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 {(9,30.9%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001746/1.482, allocations: 170.4 kB / 0.7654 GB, free: 7.234 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.811e-05/1.482, allocations: 71.23 kB / 0.7655 GB, free: 7.164 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/1.482, allocations: 80.75 kB / 0.7656 GB, free: 7.129 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/1.482, allocations: 8 kB / 0.7656 GB, free: 7.121 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/1.482, allocations: 15.89 kB / 0.7656 GB, free: 7.105 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/1.482, allocations: 3.984 kB / 0.7656 GB, free: 7.102 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/1.482, allocations: 0.7236 MB / 0.7663 GB, free: 6.5 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.482, allocations: 0 / 0.7663 GB, free: 6.5 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/1.483, allocations: 39.59 kB / 0.7663 GB, free: 6.465 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007096/1.483, allocations: 395.1 kB / 0.7667 GB, free: 6.133 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/1.483, allocations: 19.27 kB / 0.7667 GB, free: 6.117 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004032/1.487, allocations: 3.924 MB / 0.7706 GB, free: 2.824 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.487, allocations: 0 / 0.7706 GB, free: 2.824 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001866/1.489, allocations: 1.668 MB / 0.7722 GB, free: 1.547 MB / 0.5265 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002417/1.492, allocations: 2.578 MB / 0.7747 GB, free: 15.52 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/1.492, allocations: 160 kB / 0.7749 GB, free: 15.36 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/1.492, allocations: 19.83 kB / 0.7749 GB, free: 15.34 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/1.493, allocations: 112 kB / 0.775 GB, free: 15.23 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.493, allocations: 84.41 kB / 0.7751 GB, free: 15.16 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/1.493, allocations: 35.91 kB / 0.7751 GB, free: 15.13 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.0003251/1.493, allocations: 403.8 kB / 0.7755 GB, free: 14.82 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001272/1.494, allocations: 319.3 kB / 0.7758 GB, free: 14.51 MB / 0.5421 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: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,B[1].open,B[1].G,B[2].open,B[2].G,B[3].open,B[3].G,B[4].open,B[4].G,B[5].open,B[5].G,B[6].open,B[6].G,B[7].open,B[7].G,B[8].open,B[8].G,B[9].open,B[9].G,B[10].open,B[10].G) * Number of discrete states: 10 (B[10].open,B[9].open,B[8].open,B[7].open,B[6].open,B[5].open,B[4].open,B[3].open,B[2].open,B[1].open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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 {(9,30.9%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002933/1.495, allocations: 167.4 kB / 0.7759 GB, free: 14.36 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001651/1.496, allocations: 1.299 MB / 0.7772 GB, free: 13.33 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.496, allocations: 4.125 kB / 0.7772 GB, free: 13.32 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0009753/1.497, allocations: 0.7355 MB / 0.7779 GB, free: 12.72 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/1.498, allocations: 88.09 kB / 0.778 GB, free: 12.66 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/1.5, allocations: 1.422 MB / 0.7794 GB, free: 11.38 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006245/1.5, allocations: 1.183 MB / 0.7806 GB, free: 10.21 MB / 0.5421 GB Notification: Performance of SimCode: time 2.81e-07/1.5, allocations: 0 / 0.7806 GB, free: 10.21 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_10_M_10_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe 2>&1)