Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.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_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001236, allocations: 177.1 kB / 8.35 MB, free: 0.7266 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.284/1.284, allocations: 221.5 MB / 230.3 MB, free: 7.594 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.0009066/0.0009065, allocations: 90.8 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8084/0.8084, allocations: 120.5 MB / 452.4 MB, free: 10.52 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.729e-05, allocations: 4 kB / 0.5289 GB, free: 1.223 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5375/0.5375, allocations: 82.83 MB / 0.6098 GB, free: 12.97 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.6851, allocations: 128.3 MB / 0.735 GB, free: 12.55 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/0.6853, allocations: 67.91 kB / 0.7351 GB, free: 12.49 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.583/2.268, allocations: 288.9 MB / 1.017 GB, free: 83.29 MB / 0.6671 GB Notification: Performance of FrontEnd: time 2.175e-06/2.268, allocations: 0 / 1.017 GB, free: 83.29 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 0.00271/2.271, allocations: 464.1 kB / 1.018 GB, free: 83.23 MB / 0.6671 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4265 * Number of variables: 4265 Notification: Performance of Generate backend data structure: time 0.0557/2.326, allocations: 21.26 MB / 1.038 GB, free: 78.5 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/2.326, allocations: 7.406 kB / 1.038 GB, free: 78.5 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009226/2.336, allocations: 2.11 MB / 1.041 GB, free: 77.48 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02609/2.362, allocations: 10.65 MB / 1.051 GB, free: 75.62 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009894/2.363, allocations: 0.5248 MB / 1.051 GB, free: 75.62 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005197/2.368, allocations: 0.9385 MB / 1.052 GB, free: 75.61 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04349/2.412, allocations: 24.39 MB / 1.076 GB, free: 75.54 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05091/2.463, allocations: 22.28 MB / 1.098 GB, free: 75.11 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008438/2.463, allocations: 0 / 1.098 GB, free: 75.11 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005218/2.469, allocations: 31.2 kB / 1.098 GB, free: 75.11 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002707/2.469, allocations: 401.1 kB / 1.098 GB, free: 75.11 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1638/2.633, allocations: 76.9 MB / 1.173 GB, free: 49.27 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02925/2.662, allocations: 22.85 MB / 1.196 GB, free: 29.25 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01243/2.675, allocations: 10.3 MB / 1.206 GB, free: 20.14 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009152/2.675, allocations: 130 kB / 1.206 GB, free: 20.01 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/2.676, allocations: 267.7 kB / 1.206 GB, free: 19.74 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=1274): time 3.397e-05/2.676, allocations: 4 kB / 1.206 GB, free: 19.73 MB / 0.6671 GB Notification: Performance of matching and sorting (n=1274): time 0.0438/2.72, allocations: 23.16 MB / 1.229 GB, free: 308 kB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/2.72, allocations: 181.4 kB / 1.229 GB, free: 112 kB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02428/2.744, allocations: 13.41 MB / 1.242 GB, free: 4.621 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.002447/2.747, allocations: 53.7 kB / 1.242 GB, free: 4.562 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.3693/3.116, allocations: 7.752 MB / 1.25 GB, free: 90.61 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.005367/3.121, allocations: 4.159 MB / 1.254 GB, free: 88.4 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002484/3.124, allocations: 1.125 kB / 1.254 GB, free: 88.4 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.001419/3.125, allocations: 0.9797 MB / 1.255 GB, free: 88.07 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0174/3.143, allocations: 9.948 MB / 1.264 GB, free: 88.04 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01561/3.158, allocations: 12.06 MB / 1.276 GB, free: 86.24 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/3.172, allocations: 12.05 MB / 1.288 GB, free: 86.07 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-05/3.172, allocations: 15.12 kB / 1.288 GB, free: 86.07 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1919) (initialization): time 0.04803/3.22, allocations: 32.13 MB / 1.319 GB, free: 84.13 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 6.754e-05/3.22, allocations: 29.11 kB / 1.319 GB, free: 84.12 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.471e-05/3.22, allocations: 44 kB / 1.319 GB, free: 84.12 MB / 0.6828 GB Notification: Tearing is skipped for strong component 1 because system size of 825 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/3.22, allocations: 100.4 kB / 1.32 GB, free: 84.12 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009783/3.23, allocations: 2.535 MB / 1.322 GB, free: 84 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001055/3.23, allocations: 118.2 kB / 1.322 GB, free: 83.98 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01795/3.248, allocations: 3.101 MB / 1.325 GB, free: 83.58 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002658/3.251, allocations: 486.7 kB / 1.326 GB, free: 83.58 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 212 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1095): * Single equations (assignments): 1094 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(825,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003097/3.254, allocations: 310.3 kB / 1.326 GB, free: 83.36 MB / 0.6828 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03243/3.286, allocations: 23.17 MB / 1.349 GB, free: 81.63 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005157/3.292, allocations: 1.342 MB / 1.35 GB, free: 80.99 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004972/3.297, allocations: 1.982 MB / 1.352 GB, free: 80.84 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.525e-05/3.297, allocations: 120.4 kB / 1.352 GB, free: 80.84 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002663/3.297, allocations: 114.1 kB / 1.352 GB, free: 80.84 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000151/3.297, allocations: 59.95 kB / 1.352 GB, free: 80.84 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02698/3.324, allocations: 14.01 MB / 1.366 GB, free: 80.19 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.822e-05/3.324, allocations: 0 / 1.366 GB, free: 80.19 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004501/3.329, allocations: 1.187 MB / 1.367 GB, free: 80.15 MB / 0.6828 GB Notification: Tearing is skipped for strong component 2 because system size of 825 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 4.972e-05/3.329, allocations: 18.41 kB / 1.367 GB, free: 80.15 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001367/3.33, allocations: 28.98 kB / 1.367 GB, free: 80.15 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.406e-05/3.33, allocations: 11.09 kB / 1.367 GB, free: 80.15 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/3.33, allocations: 3.594 kB / 1.367 GB, free: 80.15 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04865/3.379, allocations: 34.91 MB / 1.401 GB, free: 68.97 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005975/3.385, allocations: 2.096 MB / 1.403 GB, free: 66.96 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004905/3.39, allocations: 18.23 kB / 1.403 GB, free: 66.95 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02097/3.411, allocations: 4.227 MB / 1.407 GB, free: 64.61 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003378/3.414, allocations: 1.48 MB / 1.409 GB, free: 63.85 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002177/3.416, allocations: 371.6 kB / 1.409 GB, free: 63.49 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.01566/3.432, allocations: 9.824 MB / 1.419 GB, free: 55.01 MB / 0.6828 GB Notification: Performance of sort global known variables: time 4.61e-07/3.432, allocations: 4 kB / 1.419 GB, free: 55 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.0175/3.45, allocations: 5.213 MB / 1.424 GB, free: 49.78 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 28 (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,activeLoad[11].firstOrder1.y,activeLoad[11].firstOrder2.y,activeLoad[12].firstOrder1.y,activeLoad[12].firstOrder2.y,activeLoad[13].firstOrder1.y,activeLoad[13].firstOrder2.y,activeLoad[14].firstOrder1.y,activeLoad[14].firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (450): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(825,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05277/3.502, allocations: 35.66 MB / 1.459 GB, free: 19.6 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.03028/3.533, allocations: 21.12 MB / 1.479 GB, free: 1.438 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 2.46e-05/3.533, allocations: 31.19 kB / 1.479 GB, free: 1.406 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.03859/3.571, allocations: 11.56 MB / 1.491 GB, free: 13.69 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01482/3.586, allocations: 2.53 MB / 1.493 GB, free: 11.79 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.418/4.004, allocations: 41.46 MB / 1.533 GB, free: 95.16 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01066/4.015, allocations: 11.94 MB / 1.545 GB, free: 94.06 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.0159/4.031, allocations: 6.322 MB / 1.551 GB, free: 93.95 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009849/4.041, allocations: 6.452 MB / 1.558 GB, free: 93.95 MB / 0.6984 GB Notification: Performance of SimCode: time 7.41e-07/4.041, allocations: 0 / 1.558 GB, free: 93.95 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7998/4.841, allocations: 317.6 MB / 1.868 GB, free: 80.8 MB / 0.714 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/4.841, allocations: 229.7 kB / 1.868 GB, free: 80.52 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/16.67, allocations: 0 / 1.868 GB, free: 80.52 MB / 0.714 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_14_M_14_fmu --startTime=0 --stopTime=3 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_14_M_14.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14_res.mat does not exist to compare? outputFormat=mat