Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009069/0.0009069, allocations: 94.14 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008477/0.0008477, allocations: 183.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.151/1.151, allocations: 223.2 MB / 241.1 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6055/0.6055, allocations: 120.5 MB / 412.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002652/0.0002652, allocations: 8 kB / 0.4942 GB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 82.84 MB / 0.5751 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20): time 0.4541/0.5687, allocations: 135.6 MB / 0.7076 GB, free: 1.273 MB / 0.5295 GB Notification: Performance of NFInst.instExpressions: time 0.07455/0.6433, allocations: 39.58 MB / 0.7463 GB, free: 9.582 MB / 0.5764 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02599/0.6693, allocations: 0.7242 MB / 0.747 GB, free: 8.855 MB / 0.5764 GB Notification: Performance of NFTyping.typeComponents: time 0.01729/0.6866, allocations: 4.45 MB / 0.7513 GB, free: 4.371 MB / 0.5764 GB Notification: Performance of NFTyping.typeBindings: time 0.04349/0.7301, allocations: 15.16 MB / 0.7661 GB, free: 5.168 MB / 0.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.02112/0.7513, allocations: 6.991 MB / 0.7729 GB, free: 14.17 MB / 0.6077 GB Notification: Performance of NFFlatten.flatten: time 0.04968/0.801, allocations: 31.96 MB / 0.8041 GB, free: 14.14 MB / 0.6389 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02602/0.827, allocations: 9.681 MB / 0.8136 GB, free: 4.371 MB / 0.6389 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02223/0.8493, allocations: 13.7 MB / 0.827 GB, free: 6.625 MB / 0.6545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5203/1.37, allocations: 15.68 MB / 0.8423 GB, free: 20.27 MB / 0.6548 GB Notification: Performance of NFPackage.collectConstants: time 0.01281/1.382, allocations: 1.928 MB / 0.8442 GB, free: 20.27 MB / 0.6548 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/1.397, allocations: 1.927 MB / 0.846 GB, free: 20.27 MB / 0.6548 GB Notification: Performance of NFScalarize.scalarize: time 0.01264/1.41, allocations: 6.144 MB / 0.852 GB, free: 20.27 MB / 0.6548 GB Notification: Performance of NFVerifyModel.verify: time 0.01353/1.423, allocations: 6.758 MB / 0.8586 GB, free: 20.24 MB / 0.6548 GB Notification: Performance of NFConvertDAE.convert: time 0.02762/1.451, allocations: 30.45 MB / 0.8884 GB, free: 6.77 MB / 0.6548 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/1.451, allocations: 0 / 0.8884 GB, free: 6.77 MB / 0.6548 GB Notification: Performance of FrontEnd: time 2.364e-06/1.451, allocations: 0 / 0.8884 GB, free: 6.77 MB / 0.6548 GB Notification: Performance of Transformations before backend: time 0.001529/1.453, allocations: 0 / 0.8884 GB, free: 6.77 MB / 0.6548 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.0569/1.51, allocations: 31.68 MB / 0.9193 GB, free: 6.398 MB / 0.6704 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/1.51, allocations: 7.469 kB / 0.9193 GB, free: 6.398 MB / 0.6704 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008249/1.518, allocations: 4.137 MB / 0.9234 GB, free: 5.398 MB / 0.6704 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008274/1.526, allocations: 4.014 MB / 0.9273 GB, free: 3.469 MB / 0.6704 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02269/1.549, allocations: 12 MB / 0.939 GB, free: 14.51 MB / 0.686 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00121/1.55, allocations: 2.313 MB / 0.9413 GB, free: 14.45 MB / 0.686 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004025/1.554, allocations: 2.997 MB / 0.9442 GB, free: 14.45 MB / 0.686 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04467/1.599, allocations: 24.59 MB / 0.9682 GB, free: 15.98 MB / 0.7017 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004709/1.599, allocations: 0 / 0.9682 GB, free: 15.98 MB / 0.7017 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003435/1.603, allocations: 1.401 MB / 0.9696 GB, free: 15.63 MB / 0.7017 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004971/1.603, allocations: 0.7539 MB / 0.9703 GB, free: 14.88 MB / 0.7017 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04171/1.645, allocations: 21.23 MB / 0.9911 GB, free: 0.9414 MB / 0.7017 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1859/1.831, allocations: 95.38 MB / 1.084 GB, free: 7.195 MB / 0.7798 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03796/1.869, allocations: 27.95 MB / 1.111 GB, free: 4.516 MB / 0.7954 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/1.87, allocations: 251.2 kB / 1.112 GB, free: 4.27 MB / 0.7954 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004135/1.871, allocations: 0.4919 MB / 1.112 GB, free: 3.77 MB / 0.7954 GB Notification: Performance of pre-optimization done (n=2460): time 2.636e-05/1.871, allocations: 0 / 1.112 GB, free: 3.77 MB / 0.7954 GB Notification: Performance of matching and sorting (n=2460): time 0.3012/2.172, allocations: 31.28 MB / 1.143 GB, free: 300.9 MB / 0.811 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/2.172, allocations: 301.5 kB / 1.143 GB, free: 300.9 MB / 0.811 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02853/2.201, allocations: 19.52 MB / 1.162 GB, free: 298.1 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.002895/2.204, allocations: 0.5521 MB / 1.163 GB, free: 297.8 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.006656/2.21, allocations: 14.62 MB / 1.177 GB, free: 288.1 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.005521/2.216, allocations: 8.161 MB / 1.185 GB, free: 281.7 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001574/2.217, allocations: 0.5616 MB / 1.185 GB, free: 281.3 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 3.635e-05/2.217, allocations: 303.4 kB / 1.186 GB, free: 281 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01077/2.228, allocations: 7.266 MB / 1.193 GB, free: 278.2 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01263/2.241, allocations: 11.25 MB / 1.204 GB, free: 271.3 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01879/2.26, allocations: 8.814 MB / 1.212 GB, free: 266.8 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/2.26, allocations: 26.81 kB / 1.212 GB, free: 266.8 MB / 0.811 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.0575/2.317, allocations: 33.32 MB / 1.245 GB, free: 252.2 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 8.3e-05/2.318, allocations: 43.95 kB / 1.245 GB, free: 252.2 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001498/2.318, allocations: 92.66 kB / 1.245 GB, free: 252.1 MB / 0.811 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 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.0001441/2.318, allocations: 176 kB / 1.245 GB, free: 251.9 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01224/2.33, allocations: 3.167 MB / 1.248 GB, free: 249.1 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001565/2.33, allocations: 230.1 kB / 1.249 GB, free: 248.9 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01972/2.35, allocations: 2.756 MB / 1.251 GB, free: 246.1 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001542/2.352, allocations: 0.9069 MB / 1.252 GB, free: 245.2 MB / 0.811 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2043): * Single equations (assignments): 2042 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008053/2.36, allocations: 3.435 MB / 1.256 GB, free: 241.7 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004454/2.364, allocations: 2.815 MB / 1.258 GB, free: 238.9 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00367/2.368, allocations: 2.752 MB / 1.261 GB, free: 236.4 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001023/2.368, allocations: 232 kB / 1.261 GB, free: 236.2 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0009041/2.369, allocations: 235.5 kB / 1.261 GB, free: 235.9 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001349/2.369, allocations: 116.5 kB / 1.262 GB, free: 235.9 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03593/2.405, allocations: 21.5 MB / 1.283 GB, free: 218.3 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.179e-05/2.405, allocations: 1.312 kB / 1.283 GB, free: 218.3 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004269/2.409, allocations: 1.229 MB / 1.284 GB, free: 217.1 MB / 0.811 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 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 9.879e-05/2.409, allocations: 24 kB / 1.284 GB, free: 217 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001013/2.41, allocations: 388 kB / 1.284 GB, free: 216.7 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-05/2.41, allocations: 27.95 kB / 1.284 GB, free: 216.6 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/2.41, allocations: 4 kB / 1.284 GB, free: 216.6 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03453/2.445, allocations: 26.79 MB / 1.31 GB, free: 189.7 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006841/2.452, allocations: 2.998 MB / 1.313 GB, free: 186.7 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004435/2.456, allocations: 384 kB / 1.314 GB, free: 186.3 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02076/2.477, allocations: 3.4 MB / 1.317 GB, free: 182.9 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004141/2.481, allocations: 2.498 MB / 1.319 GB, free: 180.4 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001974/2.483, allocations: 0.6992 MB / 1.32 GB, free: 179.7 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.01643/2.5, allocations: 12.85 MB / 1.333 GB, free: 167 MB / 0.811 GB Notification: Performance of sort global known variables: time 3.11e-07/2.5, allocations: 0 / 1.333 GB, free: 167 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.01738/2.517, allocations: 8.799 MB / 1.341 GB, free: 158.1 MB / 0.811 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (822): * Single equations (assignments): 821 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03509/2.552, allocations: 28.32 MB / 1.369 GB, free: 129.7 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.02968/2.582, allocations: 21.79 MB / 1.39 GB, free: 107.9 MB / 0.811 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-05/2.582, allocations: 58.42 kB / 1.39 GB, free: 107.9 MB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 0.01565/2.598, allocations: 11.26 MB / 1.401 GB, free: 96.6 MB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02163/2.619, allocations: 5.437 MB / 1.406 GB, free: 91.16 MB / 0.811 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7567/3.376, allocations: 451.4 MB / 1.847 GB, free: 110.8 MB / 0.936 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01148/3.387, allocations: 11.58 MB / 1.859 GB, free: 103.1 MB / 0.936 GB Notification: Performance of simCode: alias equations: time 0.0132/3.401, allocations: 2.644 MB / 1.861 GB, free: 101 MB / 0.936 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01321/3.414, allocations: 14.09 MB / 1.875 GB, free: 87.82 MB / 0.936 GB Notification: Performance of SimCode: time 1.383e-06/3.414, allocations: 0 / 1.875 GB, free: 87.82 MB / 0.936 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.17/4.584, allocations: 0.4887 GB / 2.364 GB, free: 306.2 MB / 0.936 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/4.584, allocations: 307.1 kB / 2.364 GB, free: 305.8 MB / 0.936 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/19.69, allocations: 0 / 2.364 GB, free: 305.8 MB / 0.936 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat does not exist to compare? outputFormat=mat