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.0009162/0.0009162, allocations: 89.61 kB / 16.65 MB, free: 6.535 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.001016/0.001016, allocations: 174.1 kB / 17.56 MB, free: 6.184 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.252/1.252, allocations: 223.3 MB / 241.6 MB, free: 14.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.1627/0.1627, allocations: 38.09 MB / 330.8 MB, free: 8.523 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002654/0.0002654, allocations: 11.98 kB / 400.8 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08417/0.08445, allocations: 59.17 MB / 460 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.008129/0.09263, allocations: 8.849 MB / 468.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007539/0.1002, allocations: 5.921 MB / 474.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005033/0.1007, allocations: 51.69 kB / 474.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007015/0.1077, allocations: 4.734 MB / 479.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.1092, allocations: 0.7978 MB / 480.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009292/0.1101, allocations: 451.3 kB / 480.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003632/0.1137, allocations: 3.759 MB / 484.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.1152, allocations: 0.9033 MB / 485.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008755/0.1161, allocations: 0.6145 MB / 486 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.1173, allocations: 1.063 MB / 487.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.1174, allocations: 52 kB / 487.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006136/0.118, allocations: 331.5 kB / 487.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005074/0.1186, allocations: 0.6155 MB / 488.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005599/0.1191, allocations: 0.6429 MB / 488.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.1205, allocations: 1.643 MB / 490.4 MB, free: 8.402 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1205, allocations: 3.938 kB / 490.4 MB, free: 8.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1205, allocations: 0 / 490.4 MB, free: 8.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.1205, allocations: 0 / 490.4 MB, free: 8.398 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.002512/0.123, allocations: 1.363 MB / 491.7 MB, free: 6.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1231, allocations: 8.031 kB / 491.8 MB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001926/0.1233, allocations: 165.2 kB / 491.9 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.1244, allocations: 219.1 kB / 492.1 MB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.126, allocations: 0.9254 MB / 493.1 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/0.1261, allocations: 69.98 kB / 493.1 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004153/0.1265, allocations: 183.8 kB / 493.3 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.1287, allocations: 1.575 MB / 494.9 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.1288, allocations: 3.906 kB / 494.9 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1289, allocations: 43.98 kB / 494.9 MB, free: 3.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005792/0.1295, allocations: 145.9 kB / 495.1 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.1314, allocations: 1.269 MB / 496.3 MB, free: 2.246 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.007422/0.1389, allocations: 6.497 MB / 0.491 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.1403, allocations: 0.9244 MB / 0.492 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007514/0.1411, allocations: 0.5083 MB / 0.4924 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.672e-05/0.1412, allocations: 9 kB / 0.4925 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1412, allocations: 39.56 kB / 0.4925 GB, free: 9.848 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.355e-06/0.1412, allocations: 7.938 kB / 0.4925 GB, free: 9.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.00618/0.1474, allocations: 3.706 MB / 0.4961 GB, free: 5.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.1475, allocations: 86.11 kB / 0.4962 GB, free: 5.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007751/0.1482, allocations: 0.7312 MB / 0.4969 GB, free: 5.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.042e-05/0.1483, allocations: 45.7 kB / 0.497 GB, free: 5.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.1487, allocations: 0.5535 MB / 0.4975 GB, free: 4.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.149, allocations: 370.7 kB / 0.4979 GB, free: 4.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.1491, allocations: 117.7 kB / 0.498 GB, free: 4.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1493, allocations: 410.7 kB / 0.4984 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000877/0.1502, allocations: 0.5686 MB / 0.4989 GB, free: 3.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.1513, allocations: 0.897 MB / 0.4998 GB, free: 2.039 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.1785/0.3298, allocations: 3.253 MB / 0.503 GB, free: 54.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.3299, allocations: 3.5 kB / 0.503 GB, free: 54.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005686/0.3356, allocations: 2.743 MB / 0.5056 GB, free: 54.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3356, allocations: 9.344 kB / 0.5057 GB, free: 54.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.3356, allocations: 9.5 kB / 0.5057 GB, free: 54.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002933/0.3386, allocations: 1.16 MB / 0.5068 GB, free: 54.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007399/0.3393, allocations: 201.3 kB / 0.507 GB, free: 54.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01534/0.3547, allocations: 11.23 MB / 0.518 GB, free: 48.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007701/0.3555, allocations: 64.78 kB / 0.518 GB, free: 48.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.706e-05/0.3556, allocations: 49.16 kB / 0.5181 GB, free: 48.9 MB / 382.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: $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.0005608/0.3561, allocations: 402.5 kB / 0.5185 GB, free: 48.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.3563, allocations: 95.66 kB / 0.5185 GB, free: 48.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/0.3582, allocations: 1.42 MB / 0.5199 GB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.3582, allocations: 15.12 kB / 0.5199 GB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3582, allocations: 0 / 0.5199 GB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3582, allocations: 3.75 kB / 0.52 GB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/0.3618, allocations: 2.689 MB / 0.5226 GB, free: 46.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.3618, allocations: 7.875 kB / 0.5226 GB, free: 46.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.3631, allocations: 277.4 kB / 0.5228 GB, free: 46.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/0.3633, allocations: 60.52 kB / 0.5229 GB, free: 46.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/0.3633, allocations: 34.83 kB / 0.5229 GB, free: 46.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.3645, allocations: 2.639 MB / 0.5255 GB, free: 43.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.3645, allocations: 3.938 kB / 0.5255 GB, free: 43.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.3666, allocations: 1.904 MB / 0.5274 GB, free: 42.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.3669, allocations: 259.4 kB / 0.5276 GB, free: 42.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.367, allocations: 38.03 kB / 0.5277 GB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/0.3675, allocations: 48.73 kB / 0.5277 GB, free: 42.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.3676, allocations: 70.94 kB / 0.5278 GB, free: 42.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/0.3677, allocations: 29.64 kB / 0.5278 GB, free: 42.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00041/0.3681, allocations: 497 kB / 0.5283 GB, free: 42.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3681, allocations: 0 / 0.5283 GB, free: 42.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000966/0.3691, allocations: 379 kB / 0.5286 GB, free: 42.2 MB / 382.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.002237/0.3713, allocations: 2.49 MB / 0.5311 GB, free: 40.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.3741, allocations: 2.071 MB / 0.5331 GB, free: 37.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3741, allocations: 0 / 0.5331 GB, free: 37.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008173/0.375, allocations: 0.7615 MB / 0.5338 GB, free: 37.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.376, allocations: 206.5 kB / 0.534 GB, free: 36.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/0.3938, allocations: 15.17 MB / 0.5488 GB, free: 21.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.3944, allocations: 1.298 MB / 0.5501 GB, free: 19.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007807/0.3952, allocations: 312 kB / 0.5504 GB, free: 19.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000478/0.3957, allocations: 463.3 kB / 0.5509 GB, free: 19.18 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3957, allocations: 0 / 0.5509 GB, free: 19.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/0.434, allocations: 28.32 MB / 0.5785 GB, free: 7.148 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/0.4342, allocations: 235.9 kB / 0.5787 GB, free: 6.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.643, allocations: 0 / 0.5787 GB, free: 6.883 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