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"}) [: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.001067/0.001067, allocations: 183.7 kB / 8.138 MB, free: 2.188 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.094/1.094, allocations: 221.4 MB / 229.9 MB, free: 3.008 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.0009893/0.0009893, allocations: 95.69 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6253/0.6253, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3346/0.9599, allocations: 88.97 MB / 0.5283 GB, free: 52.35 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/1.074, allocations: 82.84 MB / 0.6092 GB, free: 3.473 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4832/1.557, allocations: 125.5 MB / 0.7318 GB, free: 4.316 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001217/1.557, allocations: 49.22 kB / 0.7318 GB, free: 4.301 MB / 0.4953 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.01022/1.568, allocations: 3.662 MB / 0.7354 GB, free: 1.207 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/1.568, allocations: 15.98 kB / 0.7354 GB, free: 1.188 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.641e-05/1.568, allocations: 22.31 kB / 0.7354 GB, free: 1.168 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006868/1.568, allocations: 347.6 kB / 0.7358 GB, free: 0.8008 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/1.568, allocations: 4 kB / 0.7358 GB, free: 0.7969 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/1.568, allocations: 31.77 kB / 0.7358 GB, free: 0.7695 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002833/1.569, allocations: 234.4 kB / 0.736 GB, free: 0.5898 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/1.569, allocations: 295 kB / 0.7363 GB, free: 352 kB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/1.569, allocations: 0 / 0.7363 GB, free: 352 kB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/1.569, allocations: 0 / 0.7363 GB, free: 352 kB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/1.569, allocations: 8 kB / 0.7363 GB, free: 344 kB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/1.571, allocations: 1.008 MB / 0.7373 GB, free: 15.4 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/1.571, allocations: 366.3 kB / 0.7376 GB, free: 15.11 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/1.571, allocations: 165.1 kB / 0.7378 GB, free: 14.98 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/1.571, allocations: 0 / 0.7378 GB, free: 14.98 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/1.571, allocations: 34.56 kB / 0.7378 GB, free: 14.94 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=23): time 1.263e-06/1.571, allocations: 4 kB / 0.7378 GB, free: 14.94 MB / 0.5109 GB Notification: Performance of matching and sorting (n=23): time 0.0004926/1.572, allocations: 344.8 kB / 0.7382 GB, free: 14.66 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/1.572, allocations: 55.34 kB / 0.7382 GB, free: 14.59 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/1.572, allocations: 183.8 kB / 0.7384 GB, free: 14.43 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/1.572, allocations: 29.64 kB / 0.7384 GB, free: 14.39 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/1.572, allocations: 119.7 kB / 0.7385 GB, free: 14.28 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/1.572, allocations: 93.77 kB / 0.7386 GB, free: 14.2 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/1.572, allocations: 0 / 0.7386 GB, free: 14.2 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.572, allocations: 337.3 kB / 0.7389 GB, free: 13.87 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/1.573, allocations: 188.9 kB / 0.7391 GB, free: 13.73 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/1.573, allocations: 242.6 kB / 0.7393 GB, free: 13.53 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/1.573, allocations: 231.6 kB / 0.7396 GB, free: 13.35 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.573, allocations: 3.938 kB / 0.7396 GB, free: 13.35 MB / 0.5109 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006161/1.574, allocations: 0.4953 MB / 0.7401 GB, free: 12.94 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/1.574, allocations: 4 kB / 0.7401 GB, free: 12.93 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.574, allocations: 4 kB / 0.7401 GB, free: 12.93 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.574, allocations: 3.984 kB / 0.7401 GB, free: 12.93 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/1.574, allocations: 107.6 kB / 0.7402 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.574, allocations: 4 kB / 0.7402 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/1.575, allocations: 27.67 kB / 0.7402 GB, free: 12.79 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/1.575, allocations: 8 kB / 0.7402 GB, free: 12.79 MB / 0.5109 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 () * 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 8.731e-05/1.575, allocations: 113 kB / 0.7403 GB, free: 12.67 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/1.575, allocations: 15.81 kB / 0.7403 GB, free: 12.65 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.45e-05/1.575, allocations: 37.8 kB / 0.7404 GB, free: 12.64 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/1.575, allocations: 4 kB / 0.7404 GB, free: 12.64 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.575, allocations: 5.469 kB / 0.7404 GB, free: 12.63 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.575, allocations: 0 / 0.7404 GB, free: 12.63 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/1.575, allocations: 316.1 kB / 0.7407 GB, free: 12.33 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.575, allocations: 4 kB / 0.7407 GB, free: 12.32 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005567/1.576, allocations: 90.94 kB / 0.7408 GB, free: 12.24 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.576, allocations: 4 kB / 0.7408 GB, free: 12.23 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/1.576, allocations: 14.8 kB / 0.7408 GB, free: 12.22 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/1.576, allocations: 0 / 0.7408 GB, free: 12.22 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.576, allocations: 0 / 0.7408 GB, free: 12.22 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006701/1.577, allocations: 0.6151 MB / 0.7414 GB, free: 11.7 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009468/1.578, allocations: 1.212 MB / 0.7426 GB, free: 10.64 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/1.578, allocations: 123 kB / 0.7427 GB, free: 10.51 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/1.578, allocations: 17.05 kB / 0.7427 GB, free: 10.5 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/1.578, allocations: 7.984 kB / 0.7427 GB, free: 10.49 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/1.578, allocations: 11.89 kB / 0.7427 GB, free: 10.48 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/1.578, allocations: 7.5 kB / 0.7427 GB, free: 10.47 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001062/1.578, allocations: 151.6 kB / 0.7429 GB, free: 10.34 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0008565/1.579, allocations: 55.94 kB / 0.7429 GB, free: 10.29 MB / 0.5109 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 () * 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.0001373/1.579, allocations: 108.1 kB / 0.743 GB, free: 10.18 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0005352/1.58, allocations: 389 kB / 0.7434 GB, free: 9.879 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.58, allocations: 0 / 0.7434 GB, free: 9.879 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/1.58, allocations: 163.7 kB / 0.7436 GB, free: 9.754 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/1.58, allocations: 10.91 kB / 0.7436 GB, free: 9.742 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/1.582, allocations: 1.211 MB / 0.7447 GB, free: 8.566 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004557/1.582, allocations: 0.8631 MB / 0.7456 GB, free: 7.691 MB / 0.5109 GB Notification: Performance of SimCode: time 2.61e-07/1.582, allocations: 0 / 0.7456 GB, free: 7.691 MB / 0.5109 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