Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",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.001246/0.001246, allocations: 110 kB / 16.62 MB, free: 6.812 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.001324/0.001324, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.326/1.326, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1681/0.1681, allocations: 38.04 MB / 329.4 MB, free: 9.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 60.98 kB / 398.4 MB, free: 34.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1031, allocations: 58.07 MB / 456.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01097/0.1141, allocations: 9.31 MB / 465.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008608/0.1228, allocations: 5.852 MB / 471.6 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.1238, allocations: 55.62 kB / 471.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01004/0.1339, allocations: 5.286 MB / 477 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.1358, allocations: 0.7784 MB / 477.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.137, allocations: 467.2 kB / 478.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002964/0.14, allocations: 2.573 MB / 480.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.141, allocations: 0.6573 MB / 481.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.1422, allocations: 0.7705 MB / 482.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.1438, allocations: 1.118 MB / 483.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003142/0.1442, allocations: 108 kB / 483.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008365/0.145, allocations: 367.5 kB / 483.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000853/0.1459, allocations: 0.6624 MB / 484.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.147, allocations: 0.688 MB / 485.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.149, allocations: 1.706 MB / 486.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.149, allocations: 0 / 486.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.149, allocations: 0 / 486.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.007e-05/0.1491, allocations: 4 kB / 486.8 MB, free: 9.844 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003549/0.1526, allocations: 1.589 MB / 488.4 MB, free: 8.199 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1527, allocations: 11.89 kB / 488.4 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000297/0.153, allocations: 173.2 kB / 488.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.1542, allocations: 215.1 kB / 488.8 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.1561, allocations: 0.9215 MB / 489.7 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/0.1561, allocations: 73.97 kB / 489.8 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004662/0.1566, allocations: 187.8 kB / 490 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.1593, allocations: 1.56 MB / 491.5 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/0.1593, allocations: 11.92 kB / 491.6 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.1594, allocations: 39.98 kB / 491.6 MB, free: 4.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005885/0.16, allocations: 149.9 kB / 491.7 MB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.1622, allocations: 1.245 MB / 493 MB, free: 3.484 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008739/0.1709, allocations: 6.501 MB / 499.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.1726, allocations: 0.9049 MB / 0.4887 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007542/0.1733, allocations: 0.5082 MB / 0.4892 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.762e-05/0.1735, allocations: 20.98 kB / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1735, allocations: 39.56 kB / 0.4892 GB, free: 11.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.096e-06/0.1735, allocations: 0 / 0.4892 GB, free: 11.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.006545/0.1801, allocations: 3.667 MB / 0.4928 GB, free: 7.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.1801, allocations: 90.11 kB / 0.4929 GB, free: 7.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008463/0.181, allocations: 0.735 MB / 0.4936 GB, free: 6.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.693e-05/0.1811, allocations: 45.73 kB / 0.4937 GB, free: 6.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.1814, allocations: 0.5496 MB / 0.4942 GB, free: 5.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/0.1817, allocations: 370.8 kB / 0.4945 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/0.1821, allocations: 230.8 kB / 0.4948 GB, free: 5.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1823, allocations: 410.7 kB / 0.4952 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008824/0.1831, allocations: 0.5647 MB / 0.4957 GB, free: 4.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.1842, allocations: 0.8854 MB / 0.4966 GB, free: 3.234 MB / 382.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.007942/0.1922, allocations: 3.247 MB / 0.4997 GB, free: 15.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.1922, allocations: 8 kB / 0.4997 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005536/0.1977, allocations: 2.74 MB / 0.5024 GB, free: 13.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1978, allocations: 12 kB / 0.5024 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.1978, allocations: 8 kB / 0.5024 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/0.2006, allocations: 1.156 MB / 0.5036 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/0.2013, allocations: 207.6 kB / 0.5038 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2219/0.4232, allocations: 12.29 MB / 0.5158 GB, free: 69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009025/0.4242, allocations: 58.92 kB / 0.5158 GB, free: 69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.4243, allocations: 51.23 kB / 0.5159 GB, free: 69 MB / 398.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005996/0.4249, allocations: 399.4 kB / 0.5163 GB, free: 68.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.4251, allocations: 95.83 kB / 0.5164 GB, free: 68.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.4272, allocations: 1.41 MB / 0.5177 GB, free: 68.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.4272, allocations: 10.84 kB / 0.5177 GB, free: 68.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4272, allocations: 2.203 kB / 0.5177 GB, free: 68.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.4272, allocations: 4.969 kB / 0.5177 GB, free: 68.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00403/0.4312, allocations: 2.669 MB / 0.5204 GB, free: 67.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.4313, allocations: 4.125 kB / 0.5204 GB, free: 67.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/0.4327, allocations: 268 kB / 0.5206 GB, free: 67.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001472/0.4329, allocations: 58.23 kB / 0.5207 GB, free: 67.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-05/0.433, allocations: 39.81 kB / 0.5207 GB, free: 67.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.4342, allocations: 2.847 MB / 0.5235 GB, free: 65.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4343, allocations: 3.188 kB / 0.5235 GB, free: 65.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/0.4367, allocations: 1.891 MB / 0.5253 GB, free: 64.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/0.4371, allocations: 255.2 kB / 0.5256 GB, free: 64.03 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.4372, allocations: 42.2 kB / 0.5256 GB, free: 64.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005347/0.4378, allocations: 44.89 kB / 0.5257 GB, free: 64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.438, allocations: 66.38 kB / 0.5257 GB, free: 63.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.294e-05/0.438, allocations: 27.3 kB / 0.5258 GB, free: 63.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005559/0.4386, allocations: 498.7 kB / 0.5262 GB, free: 63.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4386, allocations: 1.125 kB / 0.5262 GB, free: 63.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00118/0.4398, allocations: 379.6 kB / 0.5266 GB, free: 63.74 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003174/0.443, allocations: 2.477 MB / 0.529 GB, free: 62.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004722/0.4477, allocations: 2.572 MB / 0.5315 GB, free: 61.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4477, allocations: 0 / 0.5315 GB, free: 61.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.4487, allocations: 0.7622 MB / 0.5323 GB, free: 61.06 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.4497, allocations: 220.6 kB / 0.5325 GB, free: 60.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/0.4689, allocations: 14.74 MB / 0.5469 GB, free: 52.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006322/0.4696, allocations: 1.3 MB / 0.5481 GB, free: 51.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008211/0.4704, allocations: 315.2 kB / 0.5484 GB, free: 51.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004672/0.4709, allocations: 467.3 kB / 0.5489 GB, free: 51.02 MB / 398.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4709, allocations: 0 / 0.5489 GB, free: 51.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04021/0.5111, allocations: 29.66 MB / 0.5779 GB, free: 21.64 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/0.5113, allocations: 236.8 kB / 0.5781 GB, free: 21.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/2.963, allocations: 0 / 0.5781 GB, free: 21.38 MB / 398.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG_res.mat does not exist to compare? outputFormat=mat