Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_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.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_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.001013/0.001012, allocations: 180.4 kB / 8.132 MB, free: 2.691 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.071/1.071, allocations: 221.4 MB / 229.9 MB, free: 7.652 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009085/0.0009085, allocations: 101.6 kB / 280.8 MB, free: 5.125 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.626/0.626, allocations: 120.4 MB / 452 MB, free: 268 kB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.3265/0.9526, allocations: 88.95 MB / 0.5283 GB, free: 54.82 MB / 398.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/1.061, allocations: 82.85 MB / 0.6092 GB, free: 7.109 MB / 430.3 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4637/1.525, allocations: 128.2 MB / 0.7344 GB, free: 7.93 MB / 0.4985 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001486/1.525, allocations: 67.59 kB / 0.7345 GB, free: 7.906 MB / 0.4985 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2249 * Number of variables: 2249 Notification: Performance of Generate backend data structure: time 0.3807/1.906, allocations: 162.3 MB / 0.8929 GB, free: 11.37 MB / 0.6392 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/1.906, allocations: 8 kB / 0.8929 GB, free: 11.36 MB / 0.6392 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003931/1.91, allocations: 1.124 MB / 0.894 GB, free: 10.22 MB / 0.6392 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/1.923, allocations: 5.777 MB / 0.8997 GB, free: 5.141 MB / 0.6392 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004026/1.924, allocations: 284 kB / 0.8999 GB, free: 4.863 MB / 0.6392 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002027/1.926, allocations: 0.4958 MB / 0.9004 GB, free: 4.371 MB / 0.6392 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02038/1.946, allocations: 12.75 MB / 0.9129 GB, free: 10.55 MB / 0.6548 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/1.968, allocations: 11.74 MB / 0.9243 GB, free: 1.156 MB / 0.6548 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001818/1.968, allocations: 0 / 0.9243 GB, free: 1.156 MB / 0.6548 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001329/1.969, allocations: 15.98 kB / 0.9243 GB, free: 1.141 MB / 0.6548 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/1.97, allocations: 212 kB / 0.9245 GB, free: 0.9336 MB / 0.6548 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2435/2.213, allocations: 39.38 MB / 0.963 GB, free: 215.5 MB / 0.6704 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/2.228, allocations: 10.43 MB / 0.9732 GB, free: 215.3 MB / 0.6704 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005702/2.234, allocations: 5.432 MB / 0.9785 GB, free: 215.2 MB / 0.6704 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003117/2.234, allocations: 70.41 kB / 0.9786 GB, free: 215.2 MB / 0.6704 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.775e-05/2.235, allocations: 157.1 kB / 0.9787 GB, free: 215.1 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=670): time 7.915e-06/2.235, allocations: 0 / 0.9787 GB, free: 215.1 MB / 0.6704 GB Notification: Performance of matching and sorting (n=670): time 0.01786/2.252, allocations: 11.91 MB / 0.9903 GB, free: 214.8 MB / 0.6704 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/2.253, allocations: 120.9 kB / 0.9905 GB, free: 214.7 MB / 0.6704 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0096/2.262, allocations: 7.117 MB / 0.9974 GB, free: 214.4 MB / 0.6704 GB Notification: Performance of collectPreVariables (initialization): time 0.001191/2.263, allocations: 44.75 kB / 0.9975 GB, free: 214.4 MB / 0.6704 GB Notification: Performance of collectInitialEqns (initialization): time 0.001507/2.265, allocations: 3.089 MB / 1 GB, free: 213.1 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.001856/2.267, allocations: 2.195 MB / 1.003 GB, free: 211.9 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007274/2.268, allocations: 0 / 1.003 GB, free: 211.9 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.0003178/2.268, allocations: 0.648 MB / 1.003 GB, free: 211.6 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005766/2.274, allocations: 5.267 MB / 1.008 GB, free: 211.6 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006803/2.28, allocations: 6.376 MB / 1.015 GB, free: 210.7 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007084/2.288, allocations: 6.356 MB / 1.021 GB, free: 210.6 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.852e-05/2.288, allocations: 7.688 kB / 1.021 GB, free: 210.6 MB / 0.6704 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.02383/2.312, allocations: 16.61 MB / 1.037 GB, free: 208.8 MB / 0.6704 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/2.312, allocations: 3.844 kB / 1.037 GB, free: 208.8 MB / 0.6704 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.699e-05/2.312, allocations: 27.44 kB / 1.037 GB, free: 208.8 MB / 0.6704 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01227/2.324, allocations: 5.472 MB / 1.042 GB, free: 206.5 MB / 0.6704 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00527/2.329, allocations: 1.222 MB / 1.044 GB, free: 205.5 MB / 0.6704 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06014/2.389, allocations: 43.6 MB / 1.086 GB, free: 168.3 MB / 0.6704 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008537/2.398, allocations: 1.19 MB / 1.087 GB, free: 167.4 MB / 0.6704 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/2.399, allocations: 256 kB / 1.088 GB, free: 167.1 MB / 0.6704 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (583): * Single equations (assignments): 582 * 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,65.4%) 420} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001571/2.401, allocations: 217.1 kB / 1.088 GB, free: 166.9 MB / 0.6704 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001851/2.403, allocations: 0.7144 MB / 1.088 GB, free: 166.2 MB / 0.6704 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/2.405, allocations: 1.045 MB / 1.09 GB, free: 165.2 MB / 0.6704 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-05/2.405, allocations: 64 kB / 1.09 GB, free: 165.2 MB / 0.6704 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001267/2.405, allocations: 60 kB / 1.09 GB, free: 165.1 MB / 0.6704 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.755e-05/2.405, allocations: 32.67 kB / 1.09 GB, free: 165.1 MB / 0.6704 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/2.415, allocations: 7.46 MB / 1.097 GB, free: 159.6 MB / 0.6704 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-05/2.415, allocations: 4.719 kB / 1.097 GB, free: 159.6 MB / 0.6704 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002599/2.418, allocations: 0.5883 MB / 1.098 GB, free: 159.1 MB / 0.6704 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0121/2.43, allocations: 5.455 MB / 1.103 GB, free: 154.6 MB / 0.6704 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00087/2.431, allocations: 19.72 kB / 1.103 GB, free: 154.5 MB / 0.6704 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05795/2.489, allocations: 43.35 MB / 1.145 GB, free: 117.6 MB / 0.6704 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/2.489, allocations: 3.438 kB / 1.145 GB, free: 117.6 MB / 0.6704 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02381/2.513, allocations: 18.23 MB / 1.163 GB, free: 102.2 MB / 0.6704 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03029/2.543, allocations: 24.56 MB / 1.187 GB, free: 79.82 MB / 0.6704 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002895/2.546, allocations: 1.139 MB / 1.188 GB, free: 78.66 MB / 0.6704 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002478/2.549, allocations: 15.98 kB / 1.188 GB, free: 78.64 MB / 0.6704 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009088/2.558, allocations: 1.649 MB / 1.19 GB, free: 77.12 MB / 0.6704 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001211/2.559, allocations: 380.6 kB / 1.19 GB, free: 76.75 MB / 0.6704 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008794/2.56, allocations: 192 kB / 1.19 GB, free: 76.56 MB / 0.6704 GB Notification: Performance of sort global known variables: time 0.006469/2.566, allocations: 5.238 MB / 1.195 GB, free: 71.36 MB / 0.6704 GB Notification: Performance of remove unused functions: time 0.01036/2.577, allocations: 3.426 MB / 1.199 GB, free: 67.92 MB / 0.6704 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (activeLoad[1].firstOrder1.y,activeLoad[1].firstOrder2.y,activeLoad[2].firstOrder1.y,activeLoad[2].firstOrder2.y,activeLoad[3].firstOrder1.y,activeLoad[3].firstOrder2.y,activeLoad[4].firstOrder1.y,activeLoad[4].firstOrder2.y,activeLoad[5].firstOrder1.y,activeLoad[5].firstOrder2.y,activeLoad[6].firstOrder1.y,activeLoad[6].firstOrder2.y,activeLoad[7].firstOrder1.y,activeLoad[7].firstOrder2.y,activeLoad[8].firstOrder1.y,activeLoad[8].firstOrder2.y,activeLoad[9].firstOrder1.y,activeLoad[9].firstOrder2.y,activeLoad[10].firstOrder1.y,activeLoad[10].firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 241 * 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,65.4%) 420} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001352/2.578, allocations: 183.2 kB / 1.199 GB, free: 67.73 MB / 0.6704 GB Notification: Performance of simCode: created initialization part: time 0.01787/2.596, allocations: 12.49 MB / 1.211 GB, free: 55.23 MB / 0.6704 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/2.596, allocations: 18 kB / 1.211 GB, free: 55.22 MB / 0.6704 GB Notification: Performance of simCode: created simulation system equations: time 0.01024/2.606, allocations: 6.408 MB / 1.217 GB, free: 48.82 MB / 0.6704 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006976/2.613, allocations: 1.242 MB / 1.219 GB, free: 47.69 MB / 0.6704 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03144/2.645, allocations: 19.2 MB / 1.237 GB, free: 28.61 MB / 0.6704 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007352/2.652, allocations: 7.045 MB / 1.244 GB, free: 21.63 MB / 0.6704 GB Notification: Performance of SimCode: time 5.71e-07/2.652, allocations: 0 / 1.244 GB, free: 21.63 MB / 0.6704 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_10_M_10_fmu --startTime=0 --stopTime=3 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10_res.mat does not exist to compare? outputFormat=mat