Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32: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 3.2.3+maint.om/package.mo): time 0.001386/0.001387, allocations: 182 kB / 8.129 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009425/0.0009425, allocations: 86.28 kB / 261.7 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1624/0.1624, allocations: 37.98 MB / 347.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1815/0.344, allocations: 62.43 MB / 410.1 MB, free: 46.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.4405, allocations: 56.32 MB / 466.4 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3178/0.7584, allocations: 116.2 MB / 0.5689 GB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.7588, allocations: 95.88 kB / 0.569 GB, free: 10.25 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.1127/0.8715, allocations: 38.82 MB / 0.6069 GB, free: 2.914 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8716, allocations: 8 kB / 0.607 GB, free: 2.906 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.8734, allocations: 274 kB / 0.6072 GB, free: 2.637 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004576/0.878, allocations: 1.541 MB / 0.6087 GB, free: 1.047 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.8781, allocations: 35.98 kB / 0.6088 GB, free: 1.012 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003732/0.8785, allocations: 83.88 kB / 0.6088 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001969/0.8805, allocations: 1.035 MB / 0.6098 GB, free: 15.89 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.8829, allocations: 1.334 MB / 0.6111 GB, free: 14.49 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.086e-05/0.8829, allocations: 7.906 kB / 0.6112 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.883, allocations: 4 kB / 0.6112 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/0.8832, allocations: 90.17 kB / 0.6112 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00884/0.892, allocations: 5.325 MB / 0.6164 GB, free: 8.758 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000827/0.8929, allocations: 0.5733 MB / 0.617 GB, free: 8.164 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004904/0.8934, allocations: 380.5 kB / 0.6174 GB, free: 7.789 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.963e-05/0.8935, allocations: 16.62 kB / 0.6174 GB, free: 7.773 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.8935, allocations: 43.16 kB / 0.6174 GB, free: 7.723 MB / 458.7 MB Notification: Performance of pre-optimization done (n=69): time 3.186e-06/0.8935, allocations: 4 kB / 0.6174 GB, free: 7.719 MB / 458.7 MB Notification: Performance of matching and sorting (n=78): time 0.005632/0.8992, allocations: 2.675 MB / 0.62 GB, free: 4.973 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.8993, allocations: 89.8 kB / 0.6201 GB, free: 4.867 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009301/0.9002, allocations: 0.5505 MB / 0.6207 GB, free: 4.309 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.331e-05/0.9003, allocations: 29.7 kB / 0.6207 GB, free: 4.273 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/0.9007, allocations: 0.4941 MB / 0.6212 GB, free: 3.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.901, allocations: 272 kB / 0.6214 GB, free: 3.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.901, allocations: 0 / 0.6214 GB, free: 3.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002472/0.9013, allocations: 398.7 kB / 0.6218 GB, free: 3.102 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/0.9018, allocations: 386.5 kB / 0.6222 GB, free: 2.727 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/0.9026, allocations: 0.6669 MB / 0.6228 GB, free: 1.938 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.9033, allocations: 0.5158 MB / 0.6233 GB, free: 1.422 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.9033, allocations: 4 kB / 0.6233 GB, free: 1.418 MB / 458.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003465/0.9068, allocations: 1.66 MB / 0.625 GB, free: 15.74 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.9069, allocations: 4 kB / 0.625 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002695/0.9096, allocations: 1.307 MB / 0.6262 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002173/0.9117, allocations: 0.6098 MB / 0.6268 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/0.9124, allocations: 175.7 kB / 0.627 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.9228, allocations: 8.82 MB / 0.6356 GB, free: 4.328 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008381/0.9237, allocations: 27.92 kB / 0.6356 GB, free: 4.301 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/0.9238, allocations: 43.98 kB / 0.6357 GB, free: 4.258 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002582/0.9241, allocations: 132.7 kB / 0.6358 GB, free: 4.121 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.9243, allocations: 86.88 kB / 0.6359 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.9266, allocations: 1.223 MB / 0.6371 GB, free: 2.785 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.9266, allocations: 8 kB / 0.6371 GB, free: 2.777 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.9266, allocations: 4 kB / 0.6371 GB, free: 2.773 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.9266, allocations: 3.984 kB / 0.6371 GB, free: 2.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004391/0.931, allocations: 2.353 MB / 0.6394 GB, free: 324 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.9311, allocations: 7.984 kB / 0.6394 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/0.9317, allocations: 120.1 kB / 0.6395 GB, free: 196 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.202/1.134, allocations: 383.2 kB / 0.6399 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/1.134, allocations: 18.05 kB / 0.6399 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005544/1.139, allocations: 8.149 MB / 0.6479 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.14, allocations: 9.156 kB / 0.6479 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002526/1.142, allocations: 1.906 MB / 0.6497 GB, free: 105.4 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002856/1.145, allocations: 2.798 MB / 0.6525 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/1.145, allocations: 230.5 kB / 0.6527 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/1.145, allocations: 13.19 kB / 0.6527 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004825/1.146, allocations: 14.39 kB / 0.6527 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/1.146, allocations: 45.72 kB / 0.6528 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/1.146, allocations: 32.09 kB / 0.6528 GB, free: 104.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0004562/1.147, allocations: 423.1 kB / 0.6532 GB, free: 104.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001783/1.148, allocations: 321.8 kB / 0.6535 GB, free: 104.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 8 (turboGrp.w,generator.phi_el,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000251/1.149, allocations: 183.1 kB / 0.6537 GB, free: 104.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001935/1.151, allocations: 1.46 MB / 0.6551 GB, free: 103.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.151, allocations: 0 / 0.6551 GB, free: 103.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/1.152, allocations: 1.02 MB / 0.6561 GB, free: 103.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008289/1.153, allocations: 156.9 kB / 0.6562 GB, free: 103.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/1.156, allocations: 2.278 MB / 0.6585 GB, free: 102.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008092/1.157, allocations: 1.337 MB / 0.6598 GB, free: 102 MB / 474.7 MB Notification: Performance of SimCode: time 7.71e-07/1.157, allocations: 0 / 0.6598 GB, free: 102 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat does not exist to compare? outputFormat=mat