Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.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.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",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.0009006/0.0009007, allocations: 87.38 kB / 16.31 MB, free: 6.449 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.0009528/0.0009527, allocations: 180.7 kB / 17.21 MB, free: 6.32 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.2/1.2, allocations: 223.3 MB / 241.2 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6881/0.6881, allocations: 120.5 MB / 412.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002719, allocations: 8 kB / 0.4944 GB, free: 10.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1359, allocations: 82.85 MB / 0.5753 GB, free: 7.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.001571/0.1376, allocations: 1.461 MB / 0.5767 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008287/0.1384, allocations: 0.5345 MB / 0.5772 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.1385, allocations: 0 / 0.5772 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.1386, allocations: 19.84 kB / 0.5772 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.1389, allocations: 59.66 kB / 0.5773 GB, free: 5.902 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.1391, allocations: 59.86 kB / 0.5773 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006571/0.1398, allocations: 0.6283 MB / 0.578 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.57e-05/0.1399, allocations: 52.72 kB / 0.578 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.1402, allocations: 199.4 kB / 0.5782 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003699/0.1405, allocations: 247.2 kB / 0.5784 GB, free: 4.719 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.31e-05/0.1406, allocations: 24 kB / 0.5785 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.55e-05/0.1407, allocations: 20 kB / 0.5785 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.1408, allocations: 127.6 kB / 0.5786 GB, free: 4.551 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.193e-05/0.1409, allocations: 89.52 kB / 0.5787 GB, free: 4.457 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004207/0.1413, allocations: 403.3 kB / 0.5791 GB, free: 4.062 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1414, allocations: 0 / 0.5791 GB, free: 4.062 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1414, allocations: 3.938 kB / 0.5791 GB, free: 4.059 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.1414, allocations: 0 / 0.5791 GB, free: 4.059 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001772/0.1432, allocations: 0.8847 MB / 0.5799 GB, free: 3.125 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1432, allocations: 12.03 kB / 0.5799 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.1433, allocations: 70.53 kB / 0.58 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.492e-05/0.1434, allocations: 47.48 kB / 0.5801 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.1438, allocations: 341.5 kB / 0.5804 GB, free: 2.609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.1439, allocations: 28.66 kB / 0.5804 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.1441, allocations: 75.86 kB / 0.5805 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007814/0.1449, allocations: 0.5212 MB / 0.581 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1449, allocations: 4 kB / 0.581 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.1449, allocations: 11.95 kB / 0.581 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.145, allocations: 16.59 kB / 0.581 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007044/0.1457, allocations: 0.5021 MB / 0.5815 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4159/0.5616, allocations: 1.577 MB / 0.583 GB, free: 15.71 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.5633, allocations: 0.8781 MB / 0.5839 GB, free: 15.68 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005221/0.5638, allocations: 381.8 kB / 0.5843 GB, free: 15.67 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.5638, allocations: 5.938 kB / 0.5843 GB, free: 15.67 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.5639, allocations: 41.62 kB / 0.5843 GB, free: 15.63 MB / 446.3 MB Notification: Performance of pre-optimization done (n=52): time 2.375e-06/0.5639, allocations: 0 / 0.5843 GB, free: 15.63 MB / 446.3 MB Notification: Performance of matching and sorting (n=52): time 0.001514/0.5654, allocations: 0.9884 MB / 0.5853 GB, free: 15.58 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.5654, allocations: 57.41 kB / 0.5853 GB, free: 15.52 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.5657, allocations: 317.1 kB / 0.5856 GB, free: 15.41 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.5658, allocations: 39.17 kB / 0.5857 GB, free: 15.38 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.5659, allocations: 170.7 kB / 0.5858 GB, free: 15.28 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.566, allocations: 203.6 kB / 0.586 GB, free: 15.16 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.566, allocations: 12.03 kB / 0.586 GB, free: 15.16 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 7.676e-05/0.5661, allocations: 356 kB / 0.5864 GB, free: 14.85 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006436/0.5668, allocations: 415.9 kB / 0.5868 GB, free: 14.8 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/0.5674, allocations: 0.4916 MB / 0.5873 GB, free: 14.62 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/0.568, allocations: 481.9 kB / 0.5877 GB, free: 14.48 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.568, allocations: 0.9375 kB / 0.5877 GB, free: 14.48 MB / 446.3 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001445/0.5695, allocations: 1.025 MB / 0.5887 GB, free: 14.16 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5695, allocations: 5.875 kB / 0.5887 GB, free: 14.16 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5695, allocations: 1.812 kB / 0.5887 GB, free: 14.16 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.5696, allocations: 8.203 kB / 0.5887 GB, free: 14.16 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000884/0.5705, allocations: 226.2 kB / 0.589 GB, free: 14.15 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.5705, allocations: 9.422 kB / 0.589 GB, free: 14.15 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.5708, allocations: 90.97 kB / 0.589 GB, free: 14.11 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.5709, allocations: 25.16 kB / 0.5891 GB, free: 14.1 MB / 446.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.5711, allocations: 222.3 kB / 0.5893 GB, free: 13.95 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.5711, allocations: 34.89 kB / 0.5893 GB, free: 13.93 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.5723, allocations: 0.7964 MB / 0.5901 GB, free: 13.66 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.5724, allocations: 10.22 kB / 0.5901 GB, free: 13.66 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5724, allocations: 0 / 0.5901 GB, free: 13.66 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.5724, allocations: 2.859 kB / 0.5901 GB, free: 13.66 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.573, allocations: 0.5845 MB / 0.5907 GB, free: 13.34 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.573, allocations: 0 / 0.5907 GB, free: 13.34 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000949/0.574, allocations: 206.1 kB / 0.5909 GB, free: 13.33 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.574, allocations: 2.125 kB / 0.5909 GB, free: 13.33 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/0.5741, allocations: 27.56 kB / 0.5909 GB, free: 13.32 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.5741, allocations: 6.516 kB / 0.5909 GB, free: 13.32 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5741, allocations: 0 / 0.5909 GB, free: 13.32 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.5756, allocations: 1.23 MB / 0.5921 GB, free: 12.86 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.5758, allocations: 191.8 kB / 0.5923 GB, free: 12.72 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-05/0.5759, allocations: 26.45 kB / 0.5923 GB, free: 12.71 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.5762, allocations: 44.42 kB / 0.5924 GB, free: 12.71 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.5763, allocations: 34.16 kB / 0.5924 GB, free: 12.7 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.5763, allocations: 15.81 kB / 0.5924 GB, free: 12.69 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.0001864/0.5765, allocations: 221.3 kB / 0.5926 GB, free: 12.58 MB / 446.3 MB Notification: Performance of sort global known variables: time 2e-07/0.5765, allocations: 4.875 kB / 0.5926 GB, free: 12.58 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.000396/0.5769, allocations: 126.8 kB / 0.5927 GB, free: 12.56 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (P_sfc,generator[1].theta,generator[1].omega,generator[1].p,generator[1].q_ev,generator[1].y_t,generator[1].p_t_lp,generator[1].T_s[1],generator[1].T_s[2],generator[1].T_s[3],generator[1].T_s[4],generator[1].err_p_t_int,generator[1].err_p_int,generator[2].theta,generator[2].omega,generator[2].p,generator[2].q_ev,generator[2].y_t,generator[2].p_t_lp,generator[2].T_s[1],generator[2].T_s[2],generator[2].T_s[3],generator[2].T_s[4],generator[2].err_p_t_int,generator[2].err_p_int) * 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 (54): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001629/0.5786, allocations: 1.79 MB / 0.5945 GB, free: 11.57 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.5797, allocations: 0.8229 MB / 0.5953 GB, free: 11.36 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5797, allocations: 0.6562 kB / 0.5953 GB, free: 11.36 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.5801, allocations: 367.9 kB / 0.5956 GB, free: 11.25 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.5804, allocations: 28.39 kB / 0.5957 GB, free: 11.23 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/0.5863, allocations: 5.284 MB / 0.6008 GB, free: 8.488 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.5866, allocations: 0.9007 MB / 0.6017 GB, free: 7.773 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0006269/0.5873, allocations: 254.3 kB / 0.602 GB, free: 7.742 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.5875, allocations: 123.4 kB / 0.6021 GB, free: 7.648 MB / 446.3 MB Notification: Performance of SimCode: time 6.31e-07/0.5875, allocations: 0.9062 kB / 0.6021 GB, free: 7.648 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.606, allocations: 8.867 MB / 0.6107 GB, free: 3.586 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/0.6062, allocations: 234.7 kB / 0.611 GB, free: 3.34 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.27, allocations: 2.516 kB / 0.611 GB, free: 3.34 MB / 446.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat does not exist to compare? outputFormat=mat