Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.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.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",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.001097/0.001097, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001013, allocations: 100 kB / 291.5 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8364/0.8364, allocations: 120.5 MB / 463 MB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005373/0.0005373, allocations: 7.469 kB / 0.5434 GB, free: 42.29 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2004, allocations: 82.84 MB / 0.6243 GB, free: 9.109 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8495/1.05, allocations: 126.3 MB / 0.7477 GB, free: 7.68 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001554/1.05, allocations: 54.22 kB / 0.7477 GB, free: 7.656 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01174/1.062, allocations: 3.446 MB / 0.7511 GB, free: 4.613 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.443e-06/1.062, allocations: 0 / 0.7511 GB, free: 4.613 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.306e-05/1.062, allocations: 7.938 kB / 0.7511 GB, free: 4.605 MB / 0.5107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001182/1.063, allocations: 0.6186 MB / 0.7517 GB, free: 3.953 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 8.895e-05/1.063, allocations: 12.03 kB / 0.7517 GB, free: 3.941 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001623/1.063, allocations: 54.28 kB / 0.7518 GB, free: 3.887 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/1.064, allocations: 23.72 kB / 0.7518 GB, free: 3.863 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007612/1.064, allocations: 358 kB / 0.7521 GB, free: 3.488 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/1.064, allocations: 12.08 kB / 0.7521 GB, free: 3.48 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/1.064, allocations: 35.61 kB / 0.7522 GB, free: 3.453 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/1.065, allocations: 306.1 kB / 0.7525 GB, free: 3.207 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/1.065, allocations: 7.859 kB / 0.7525 GB, free: 3.199 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/1.065, allocations: 7.938 kB / 0.7525 GB, free: 3.195 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/1.065, allocations: 8 kB / 0.7525 GB, free: 3.188 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/1.065, allocations: 229.2 kB / 0.7527 GB, free: 3.016 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/1.067, allocations: 1.113 MB / 0.7538 GB, free: 1.988 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008158/1.068, allocations: 434.8 kB / 0.7542 GB, free: 1.648 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/1.068, allocations: 7.984 kB / 0.7542 GB, free: 1.641 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/1.068, allocations: 38.31 kB / 0.7542 GB, free: 1.598 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=23): time 1.923e-06/1.068, allocations: 3.938 kB / 0.7543 GB, free: 1.594 MB / 0.5107 GB Notification: Performance of matching and sorting (n=23): time 0.0006491/1.069, allocations: 473.9 kB / 0.7547 GB, free: 1.227 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/1.069, allocations: 51.41 kB / 0.7548 GB, free: 1.164 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/1.069, allocations: 197.2 kB / 0.7549 GB, free: 0.9883 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/1.069, allocations: 29.52 kB / 0.755 GB, free: 0.957 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/1.069, allocations: 131.8 kB / 0.7551 GB, free: 0.8398 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 7.329e-05/1.069, allocations: 97.53 kB / 0.7552 GB, free: 0.7578 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/1.069, allocations: 3.875 kB / 0.7552 GB, free: 0.7578 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 9.836e-05/1.069, allocations: 338.4 kB / 0.7555 GB, free: 440 kB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/1.07, allocations: 189.8 kB / 0.7557 GB, free: 296 kB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/1.07, allocations: 237.6 kB / 0.7559 GB, free: 96 kB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/1.07, allocations: 225.1 kB / 0.7561 GB, free: 15.93 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/1.07, allocations: 0 / 0.7561 GB, free: 15.93 MB / 0.5263 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007676/1.071, allocations: 0.4959 MB / 0.7566 GB, free: 15.54 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.071, allocations: 7.938 kB / 0.7566 GB, free: 15.54 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.071, allocations: 7.984 kB / 0.7566 GB, free: 15.53 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.071, allocations: 0 / 0.7566 GB, free: 15.53 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/1.072, allocations: 107.9 kB / 0.7567 GB, free: 15.42 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.072, allocations: 7.953 kB / 0.7567 GB, free: 15.41 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/1.072, allocations: 43.56 kB / 0.7568 GB, free: 15.38 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/1.072, allocations: 8 kB / 0.7568 GB, free: 15.37 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (41): * Single equations (assignments): 41 * 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.0001375/1.072, allocations: 165.7 kB / 0.757 GB, free: 15.21 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/1.072, allocations: 23.53 kB / 0.757 GB, free: 15.2 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.953e-05/1.072, allocations: 36.88 kB / 0.757 GB, free: 15.18 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.072, allocations: 7.969 kB / 0.757 GB, free: 15.18 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.072, allocations: 0 / 0.757 GB, free: 15.18 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/1.072, allocations: 3.953 kB / 0.757 GB, free: 15.17 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/1.073, allocations: 359.3 kB / 0.7574 GB, free: 14.82 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.073, allocations: 4 kB / 0.7574 GB, free: 14.82 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/1.073, allocations: 95.86 kB / 0.7575 GB, free: 14.73 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.073, allocations: 7.938 kB / 0.7575 GB, free: 14.72 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/1.073, allocations: 11.8 kB / 0.7575 GB, free: 14.71 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.073, allocations: 4 kB / 0.7575 GB, free: 14.71 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.073, allocations: 1.5 kB / 0.7575 GB, free: 14.71 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/1.074, allocations: 0.6109 MB / 0.7581 GB, free: 14.2 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/1.074, allocations: 132.1 kB / 0.7582 GB, free: 14.06 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/1.074, allocations: 15.67 kB / 0.7582 GB, free: 14.05 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/1.074, allocations: 15.73 kB / 0.7582 GB, free: 14.04 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-05/1.075, allocations: 15.97 kB / 0.7583 GB, free: 14.02 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/1.075, allocations: 11.88 kB / 0.7583 GB, free: 14.02 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.0001423/1.075, allocations: 159.5 kB / 0.7584 GB, free: 13.88 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.4e-07/1.075, allocations: 0 / 0.7584 GB, free: 13.88 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0002848/1.075, allocations: 63.69 kB / 0.7585 GB, free: 13.82 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (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) * 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 (23): * Single equations (assignments): 23 * 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.0008961/1.076, allocations: 1.16 MB / 0.7596 GB, free: 12.77 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.000486/1.077, allocations: 394.5 kB / 0.76 GB, free: 12.47 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.077, allocations: 0 / 0.76 GB, free: 12.47 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/1.077, allocations: 161.8 kB / 0.7601 GB, free: 12.34 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/1.077, allocations: 8.25 kB / 0.7601 GB, free: 12.34 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/1.08, allocations: 3.378 MB / 0.7634 GB, free: 9.223 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/1.081, allocations: 0.7942 MB / 0.7642 GB, free: 8.41 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0002522/1.081, allocations: 113.8 kB / 0.7643 GB, free: 8.297 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/1.081, allocations: 64.34 kB / 0.7644 GB, free: 8.27 MB / 0.5263 GB Notification: Performance of SimCode: time 4.3e-07/1.081, allocations: 0 / 0.7644 GB, free: 8.27 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/1.098, allocations: 4.7 MB / 0.769 GB, free: 3.789 MB / 0.5263 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/1.098, allocations: 209.2 kB / 0.7692 GB, free: 3.551 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/3.118, allocations: 0 / 0.7692 GB, free: 3.551 MB / 0.5263 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad_fmu --startTime=0 --stopTime=500 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat does not exist to compare? outputFormat=mat