Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_20_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_20_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_20_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_20_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_20_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.001012/0.001012, allocations: 183.8 kB / 8.138 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.019/1.019, allocations: 221.4 MB / 229.9 MB, free: 3.117 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.0008507/0.0008508, allocations: 93.8 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.585/0.585, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2996/0.8846, allocations: 88.96 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.9875, allocations: 82.85 MB / 0.6092 GB, free: 3.449 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4288/1.416, allocations: 127.6 MB / 0.7338 GB, free: 2.551 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001536/1.417, allocations: 66.59 kB / 0.7339 GB, free: 2.52 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: 360 * Number of variables: 360 Notification: Performance of Generate backend data structure: time 0.05933/1.476, allocations: 25.51 MB / 0.7588 GB, free: 12.34 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/1.476, allocations: 8 kB / 0.7588 GB, free: 12.33 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004313/1.476, allocations: 193.8 kB / 0.759 GB, free: 12.14 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/1.478, allocations: 0.9055 MB / 0.7598 GB, free: 11.3 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/1.478, allocations: 51.98 kB / 0.7599 GB, free: 11.25 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/1.478, allocations: 99.55 kB / 0.76 GB, free: 11.16 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002165/1.48, allocations: 1.624 MB / 0.7616 GB, free: 9.992 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/1.483, allocations: 1.682 MB / 0.7632 GB, free: 8.691 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/1.483, allocations: 4 kB / 0.7632 GB, free: 8.688 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/1.483, allocations: 15.78 kB / 0.7632 GB, free: 8.676 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/1.483, allocations: 32 kB / 0.7633 GB, free: 8.645 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008698/1.492, allocations: 5.786 MB / 0.7689 GB, free: 3.664 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/1.493, allocations: 1.441 MB / 0.7703 GB, free: 2.617 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009267/1.494, allocations: 0.971 MB / 0.7713 GB, free: 1.957 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/1.494, allocations: 13 kB / 0.7713 GB, free: 1.945 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/1.495, allocations: 1.242 MB / 0.7725 GB, free: 0.8906 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=166): time 2.895e-06/1.495, allocations: 0.8438 kB / 0.7725 GB, free: 0.8906 MB / 0.5265 GB Notification: Performance of matching and sorting (n=166): time 0.002828/1.498, allocations: 2.08 MB / 0.7745 GB, free: 15.25 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000214/1.498, allocations: 0.6448 MB / 0.7752 GB, free: 14.47 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009262/1.499, allocations: 0.9254 MB / 0.7761 GB, free: 13.73 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/1.5, allocations: 77.45 kB / 0.7761 GB, free: 13.66 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/1.5, allocations: 0.5022 MB / 0.7766 GB, free: 13.21 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/1.5, allocations: 469.8 kB / 0.7771 GB, free: 12.81 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/1.5, allocations: 0 / 0.7771 GB, free: 12.81 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.5, allocations: 448.9 kB / 0.7775 GB, free: 12.42 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/1.501, allocations: 0.9031 MB / 0.7784 GB, free: 11.77 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/1.503, allocations: 1.347 MB / 0.7797 GB, free: 10.6 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/1.504, allocations: 1.075 MB / 0.7808 GB, free: 9.801 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.504, allocations: 0 / 0.7808 GB, free: 9.801 MB / 0.5421 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003692/1.508, allocations: 2.908 MB / 0.7836 GB, free: 7.496 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/1.508, allocations: 7.125 kB / 0.7836 GB, free: 7.492 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.508, allocations: 8.047 kB / 0.7836 GB, free: 7.484 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/1.509, allocations: 0.9493 MB / 0.7845 GB, free: 6.645 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007555/1.51, allocations: 228.9 kB / 0.7848 GB, free: 6.438 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008119/1.518, allocations: 6.765 MB / 0.7914 GB, free: 1.105 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/1.52, allocations: 302.8 kB / 0.7917 GB, free: 0.8086 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.925e-05/1.52, allocations: 67.34 kB / 0.7917 GB, free: 0.7578 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 120 ($whenCondition39,$PRE.B[1].open,B[1].open,$whenCondition37,$PRE.B[2].open,B[2].open,$whenCondition35,$PRE.B[3].open,B[3].open,$whenCondition33,$PRE.B[4].open,B[4].open,$whenCondition31,$PRE.B[5].open,B[5].open,$whenCondition29,$PRE.B[6].open,B[6].open,$whenCondition27,$PRE.B[7].open,B[7].open,$whenCondition25,$PRE.B[8].open,B[8].open,$whenCondition23,$PRE.B[9].open,B[9].open,$whenCondition21,$PRE.B[10].open,B[10].open,$whenCondition19,$PRE.B[11].open,B[11].open,$whenCondition17,$PRE.B[12].open,B[12].open,$whenCondition15,$PRE.B[13].open,B[13].open,$whenCondition13,$PRE.B[14].open,B[14].open,$whenCondition11,$PRE.B[15].open,B[15].open,$whenCondition9,$PRE.B[16].open,B[16].open,$whenCondition7,$PRE.B[17].open,B[17].open,$whenCondition5,$PRE.B[18].open,B[18].open,$whenCondition3,$PRE.B[19].open,B[19].open,$whenCondition1,$PRE.B[20].open,B[20].open,$whenCondition40,$whenCondition38,$whenCondition36,$whenCondition34,$whenCondition32,$whenCondition30,$whenCondition28,$whenCondition26,$whenCondition24,$whenCondition22,$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,$PRE.B[11].G,B[11].G,$PRE.B[12].G,B[12].G,$PRE.B[13].G,B[13].G,$PRE.B[14].G,B[14].G,$PRE.B[15].G,B[15].G,$PRE.B[16].G,B[16].G,$PRE.B[17].G,B[17].G,$PRE.B[18].G,B[18].G,$PRE.B[19].G,B[19].G,$PRE.B[20].G,B[20].G) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 207 * 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 {(19,15.2%) 43} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002767/1.52, allocations: 216.3 kB / 0.7919 GB, free: 0.5547 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/1.52, allocations: 134.5 kB / 0.7921 GB, free: 432 kB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/1.52, allocations: 144.9 kB / 0.7922 GB, free: 368 kB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.52, allocations: 20 kB / 0.7922 GB, free: 348 kB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/1.52, allocations: 16 kB / 0.7922 GB, free: 332 kB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.52, allocations: 7.969 kB / 0.7922 GB, free: 324 kB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/1.522, allocations: 1.29 MB / 0.7935 GB, free: 15.3 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.522, allocations: 0 / 0.7935 GB, free: 15.3 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/1.522, allocations: 74.02 kB / 0.7936 GB, free: 15.23 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001572/1.524, allocations: 0.9296 MB / 0.7945 GB, free: 14.41 MB / 0.5578 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/1.524, allocations: 19.78 kB / 0.7945 GB, free: 14.39 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007676/1.531, allocations: 6.719 MB / 0.801 GB, free: 9.066 MB / 0.5578 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.531, allocations: 3.906 kB / 0.8011 GB, free: 9.062 MB / 0.5578 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003677/1.535, allocations: 3.219 MB / 0.8042 GB, free: 6.641 MB / 0.5578 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004761/1.54, allocations: 4.641 MB / 0.8087 GB, free: 3.133 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/1.54, allocations: 231 kB / 0.8089 GB, free: 2.895 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/1.54, allocations: 39.7 kB / 0.809 GB, free: 2.863 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/1.541, allocations: 223.7 kB / 0.8092 GB, free: 2.648 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003966/1.542, allocations: 207.7 kB / 0.8094 GB, free: 2.469 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/1.542, allocations: 75.56 kB / 0.8095 GB, free: 2.406 MB / 0.5578 GB Notification: Performance of sort global known variables: time 0.0006351/1.542, allocations: 0.6834 MB / 0.8101 GB, free: 1.879 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.001678/1.544, allocations: 0.5957 MB / 0.8107 GB, free: 1.285 MB / 0.5578 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: 80 ($whenCondition40,$whenCondition39,$whenCondition38,$whenCondition37,$whenCondition36,$whenCondition35,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$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,B[11].open,B[11].G,B[12].open,B[12].G,B[13].open,B[13].G,B[14].open,B[14].G,B[15].open,B[15].G,B[16].open,B[16].G,B[17].open,B[17].G,B[18].open,B[18].G,B[19].open,B[19].G,B[20].open,B[20].G) * Number of discrete states: 20 (B[20].open,B[19].open,B[18].open,B[17].open,B[16].open,B[15].open,B[14].open,B[13].open,B[12].open,B[11].open,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 (105): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 40 * 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 {(19,15.2%) 43} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003645/1.545, allocations: 202.3 kB / 0.8109 GB, free: 1.098 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.003114/1.548, allocations: 2.484 MB / 0.8133 GB, free: 15.16 MB / 0.5734 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.548, allocations: 8.438 kB / 0.8133 GB, free: 15.15 MB / 0.5734 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/1.55, allocations: 1.377 MB / 0.8147 GB, free: 14.05 MB / 0.5734 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/1.55, allocations: 151.7 kB / 0.8148 GB, free: 13.94 MB / 0.5734 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/1.554, allocations: 2.734 MB / 0.8175 GB, free: 11.49 MB / 0.5734 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/1.555, allocations: 1.653 MB / 0.8191 GB, free: 9.891 MB / 0.5734 GB Notification: Performance of SimCode: time 2.6e-07/1.555, allocations: 0 / 0.8191 GB, free: 9.891 MB / 0.5734 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_20_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_20_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_20_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_20_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_20_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_20_M_10_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_20_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_20_M_10.pipe 2>&1)