Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.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(PowerSystems.Examples.AC3ph.Generation.Islanding,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Islanding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Islanding,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Islanding",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.0009594/0.0009596, allocations: 93.23 kB / 16.31 MB, free: 5.57 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.001182/0.001182, allocations: 177.6 kB / 17.2 MB, free: 5.492 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.436/1.436, allocations: 223.2 MB / 241.2 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.178/0.178, allocations: 38.1 MB / 330.4 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 8 kB / 400.2 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1489, allocations: 59.17 MB / 459.3 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01668/0.1656, allocations: 10.57 MB / 469.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01397/0.1796, allocations: 6.309 MB / 476.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.1818, allocations: 67.56 kB / 476.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02082/0.2027, allocations: 11.84 MB / 488.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.2062, allocations: 0.8163 MB / 488.9 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.2082, allocations: 0.4905 MB / 489.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006371/0.2146, allocations: 3.836 MB / 493.3 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.2169, allocations: 1.099 MB / 494.4 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.2187, allocations: 0.7194 MB / 495.1 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.2204, allocations: 0.9067 MB / 496 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.2206, allocations: 56 kB / 496 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008801/0.2215, allocations: 331.4 kB / 496.4 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005844/0.2221, allocations: 0.4946 MB / 496.9 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004808/0.2226, allocations: 300.9 kB / 497.2 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.2246, allocations: 1.73 MB / 498.9 MB, free: 15.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2246, allocations: 0 / 498.9 MB, free: 15.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.988e-06/0.2247, allocations: 0 / 498.9 MB, free: 15.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.672e-05/0.2247, allocations: 3.938 kB / 498.9 MB, free: 15.63 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003585/0.2283, allocations: 1.643 MB / 0.4888 GB, free: 13.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.2283, allocations: 8.031 kB / 0.4888 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002515/0.2286, allocations: 181.3 kB / 0.489 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008632/0.2295, allocations: 225.9 kB / 0.4892 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.2317, allocations: 1.113 MB / 0.4903 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.88e-05/0.2318, allocations: 90.19 kB / 0.4904 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003654/0.2322, allocations: 139.9 kB / 0.4905 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.2349, allocations: 1.481 MB / 0.492 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.2349, allocations: 3.984 kB / 0.492 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.2351, allocations: 48 kB / 0.492 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/0.2353, allocations: 78.05 kB / 0.4921 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.2375, allocations: 1.218 MB / 0.4933 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008823/0.2463, allocations: 5.729 MB / 0.4989 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.2479, allocations: 0.9776 MB / 0.4998 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008244/0.2488, allocations: 499.1 kB / 0.5003 GB, free: 1.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.659e-05/0.2489, allocations: 16.66 kB / 0.5003 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.2489, allocations: 39.22 kB / 0.5003 GB, free: 1.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 3.326e-06/0.2489, allocations: 0 / 0.5003 GB, free: 1.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.3253/0.5742, allocations: 3.717 MB / 0.504 GB, free: 46.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.5743, allocations: 165.5 kB / 0.5041 GB, free: 46.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.5761, allocations: 0.9268 MB / 0.505 GB, free: 46.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.5762, allocations: 42.42 kB / 0.5051 GB, free: 46.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004968/0.5767, allocations: 0.6313 MB / 0.5057 GB, free: 46.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.577, allocations: 303.8 kB / 0.506 GB, free: 45.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.5771, allocations: 24.44 kB / 0.506 GB, free: 45.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.5772, allocations: 343.3 kB / 0.5063 GB, free: 45.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007235/0.5779, allocations: 396.9 kB / 0.5067 GB, free: 45.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008523/0.5788, allocations: 0.6409 MB / 0.5073 GB, free: 45.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008677/0.5797, allocations: 496.7 kB / 0.5078 GB, free: 45.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.5797, allocations: 5.469 kB / 0.5078 GB, free: 45.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004838/0.5845, allocations: 2.102 MB / 0.5099 GB, free: 45.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.5848, allocations: 298.4 kB / 0.5102 GB, free: 44.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.5848, allocations: 12.77 kB / 0.5102 GB, free: 44.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003006/0.5878, allocations: 0.8388 MB / 0.511 GB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006744/0.5885, allocations: 156.1 kB / 0.5111 GB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.017/0.6055, allocations: 9.875 MB / 0.5208 GB, free: 39.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.6068, allocations: 77.7 kB / 0.5209 GB, free: 39.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-05/0.6069, allocations: 43.08 kB / 0.5209 GB, free: 39.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.6069, allocations: 4.031 kB / 0.5209 GB, free: 39.83 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003773/0.6107, allocations: 1.759 MB / 0.5226 GB, free: 39.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.6107, allocations: 11.02 kB / 0.5226 GB, free: 39.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002559/0.6133, allocations: 0.7638 MB / 0.5234 GB, free: 38.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.6139, allocations: 158.5 kB / 0.5235 GB, free: 38.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/0.6262, allocations: 9.301 MB / 0.5326 GB, free: 32.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.6274, allocations: 48.05 kB / 0.5327 GB, free: 32.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.234e-05/0.6275, allocations: 51.69 kB / 0.5327 GB, free: 32.58 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,limPID_DC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 72 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {10 40} Notification: Performance of prepare postOptimizeDAE: time 0.001114/0.6287, allocations: 475.9 kB / 0.5332 GB, free: 32.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/0.629, allocations: 106.7 kB / 0.5333 GB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.631, allocations: 1.348 MB / 0.5346 GB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.6311, allocations: 10.81 kB / 0.5346 GB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6311, allocations: 3.438 kB / 0.5346 GB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.6311, allocations: 7.781 kB / 0.5346 GB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.6344, allocations: 2.654 MB / 0.5372 GB, free: 29.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6344, allocations: 3.688 kB / 0.5372 GB, free: 29.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008247/0.6353, allocations: 177.1 kB / 0.5374 GB, free: 29.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/0.6355, allocations: 96.95 kB / 0.5374 GB, free: 29.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.079e-05/0.6356, allocations: 25.41 kB / 0.5375 GB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.6376, allocations: 4.123 MB / 0.5415 GB, free: 25.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6376, allocations: 2.906 kB / 0.5415 GB, free: 25.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.6398, allocations: 1.928 MB / 0.5434 GB, free: 23.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/0.6402, allocations: 271.5 kB / 0.5436 GB, free: 22.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.6403, allocations: 28 kB / 0.5437 GB, free: 22.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/0.6409, allocations: 47.95 kB / 0.5437 GB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.822e-05/0.641, allocations: 55.83 kB / 0.5438 GB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.6411, allocations: 23.98 kB / 0.5438 GB, free: 22.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008743/0.642, allocations: 0.6423 MB / 0.5444 GB, free: 22.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.642, allocations: 0 / 0.5444 GB, free: 22.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002147/0.6441, allocations: 0.5532 MB / 0.545 GB, free: 21.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.generator.i_rd[1],turboGen.generator.i_rq[1],turboGen.governor.speedReg.x_scaled[1],turboGen.rotor.phi,turboGen.rotor.w,capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,limPID_DC.I.y,limPID_DC.D.x) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002759/0.6469, allocations: 2.529 MB / 0.5474 GB, free: 19.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004954/0.6519, allocations: 3.005 MB / 0.5504 GB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.6519, allocations: 4 kB / 0.5504 GB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009895/0.6529, allocations: 0.8239 MB / 0.5512 GB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.6544, allocations: 275.3 kB / 0.5514 GB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/0.6696, allocations: 9.65 MB / 0.5609 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008202/0.6705, allocations: 1.336 MB / 0.5622 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000964/0.6714, allocations: 260.8 kB / 0.5624 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005971/0.672, allocations: 0.5149 MB / 0.5629 GB, free: 2.703 MB / 382.1 MB Notification: Performance of SimCode: time 3.116e-06/0.672, allocations: 0 / 0.5629 GB, free: 2.703 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06083/0.7329, allocations: 34.58 MB / 0.5967 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.7331, allocations: 224.2 kB / 0.5969 GB, free: 292 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.342, allocations: 4 kB / 0.5969 GB, free: 288 kB / 414.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Islanding_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Islanding.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding_res.mat does not exist to compare? outputFormat=mat