Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002096/0.002096, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.189/0.189, allocations: 38.53 MB / 353.2 MB, free: 12.61 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.91 kB / 493.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3759, allocations: 62.46 MB / 0.5428 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01114/0.387, allocations: 8.329 MB / 0.5509 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.3985, allocations: 5.587 MB / 0.5563 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.3999, allocations: 38 kB / 0.5564 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01338/0.4133, allocations: 5.888 MB / 0.5621 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003021/0.4163, allocations: 0.8481 MB / 0.563 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.4181, allocations: 0.5029 MB / 0.5634 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006116/0.4243, allocations: 2.624 MB / 0.566 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.4256, allocations: 0.5633 MB / 0.5666 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.4272, allocations: 0.7939 MB / 0.5673 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.4299, allocations: 1.118 MB / 0.5684 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002783/0.4302, allocations: 104 kB / 0.5685 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.4314, allocations: 411.5 kB / 0.5689 GB, free: 9.652 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008558/0.4322, allocations: 0.6739 MB / 0.5696 GB, free: 8.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009992/0.4332, allocations: 0.6842 MB / 0.5702 GB, free: 8.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002725/0.4359, allocations: 1.74 MB / 0.5719 GB, free: 6.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4359, allocations: 0 / 0.5719 GB, free: 6.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4359, allocations: 0 / 0.5719 GB, free: 6.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.69e-05/0.436, allocations: 0 / 0.5719 GB, free: 6.543 MB / 414.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.004091/0.4401, allocations: 1.566 MB / 0.5735 GB, free: 4.941 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.4401, allocations: 11.98 kB / 0.5735 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.241e-05/0.4402, allocations: 26.19 kB / 0.5735 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002524/0.4404, allocations: 165.2 kB / 0.5737 GB, free: 4.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.4421, allocations: 275.8 kB / 0.5739 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.4445, allocations: 0.8694 MB / 0.5748 GB, free: 3.559 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.4446, allocations: 81.95 kB / 0.5749 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004863/0.4451, allocations: 179.8 kB / 0.575 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/0.4478, allocations: 1.567 MB / 0.5766 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.254e-05/0.4479, allocations: 8 kB / 0.5766 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.448, allocations: 35.98 kB / 0.5766 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006485/0.4486, allocations: 153.8 kB / 0.5767 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.451, allocations: 1.245 MB / 0.578 GB, free: 212 kB / 414.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.009738/0.4608, allocations: 6.365 MB / 0.5842 GB, free: 9.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.4625, allocations: 0.8813 MB / 0.585 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008191/0.4633, allocations: 484.5 kB / 0.5855 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.926e-05/0.4634, allocations: 20.97 kB / 0.5855 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.4634, allocations: 43.56 kB / 0.5856 GB, free: 8.023 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.026e-06/0.4634, allocations: 0 / 0.5856 GB, free: 8.023 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.006877/0.4703, allocations: 3.254 MB / 0.5887 GB, free: 4.746 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.4704, allocations: 86.11 kB / 0.5888 GB, free: 4.645 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009557/0.4713, allocations: 0.7274 MB / 0.5895 GB, free: 3.902 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.422e-05/0.4714, allocations: 41.7 kB / 0.5896 GB, free: 3.855 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/0.4719, allocations: 0.5706 MB / 0.5901 GB, free: 3.277 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/0.4722, allocations: 380.8 kB / 0.5905 GB, free: 2.902 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/0.4726, allocations: 234.8 kB / 0.5907 GB, free: 2.668 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.4728, allocations: 414.7 kB / 0.5911 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.4739, allocations: 0.5608 MB / 0.5917 GB, free: 1.691 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.4752, allocations: 0.897 MB / 0.5925 GB, free: 0.6641 MB / 430.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.008672/0.4838, allocations: 3.232 MB / 0.5957 GB, free: 13.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.4838, allocations: 0 / 0.5957 GB, free: 13.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006273/0.4901, allocations: 2.694 MB / 0.5983 GB, free: 10.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.4901, allocations: 8.062 kB / 0.5983 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.906e-05/0.4902, allocations: 19.94 kB / 0.5983 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/0.4934, allocations: 1.151 MB / 0.5995 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009666/0.4944, allocations: 203.7 kB / 0.5997 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/0.5147, allocations: 12.08 MB / 0.6115 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009536/0.5157, allocations: 63.84 kB / 0.6115 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.5158, allocations: 56.05 kB / 0.6116 GB, free: 12.76 MB / 462.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.0007572/0.5166, allocations: 397.4 kB / 0.612 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.5167, allocations: 103.3 kB / 0.6121 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.5191, allocations: 1.261 MB / 0.6133 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.5191, allocations: 12 kB / 0.6133 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5191, allocations: 0 / 0.6133 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.5191, allocations: 3.984 kB / 0.6133 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004841/0.524, allocations: 2.493 MB / 0.6157 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.524, allocations: 0 / 0.6157 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/0.5256, allocations: 279.9 kB / 0.616 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001935/0.5258, allocations: 57.61 kB / 0.6161 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.5259, allocations: 39.98 kB / 0.6161 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002419/0.5284, allocations: 2.629 MB / 0.6187 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.5284, allocations: 11.92 kB / 0.6187 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002999/0.5314, allocations: 1.743 MB / 0.6204 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005176/0.5319, allocations: 187.2 kB / 0.6206 GB, free: 3.184 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.532, allocations: 35.98 kB / 0.6206 GB, free: 3.148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/0.5326, allocations: 43.95 kB / 0.6206 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.5327, allocations: 72.75 kB / 0.6207 GB, free: 3.035 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/0.5328, allocations: 27.98 kB / 0.6207 GB, free: 3.008 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006856/0.5335, allocations: 495 kB / 0.6212 GB, free: 2.531 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5335, allocations: 8 kB / 0.6212 GB, free: 2.523 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001422/0.5349, allocations: 376 kB / 0.6216 GB, free: 2.156 MB / 462.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.003453/0.5384, allocations: 2.324 MB / 0.6238 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00427/0.5426, allocations: 2.041 MB / 0.6258 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.5427, allocations: 1.312 kB / 0.6258 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.544, allocations: 0.7336 MB / 0.6265 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.5454, allocations: 220.8 kB / 0.6268 GB, free: 12.74 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/0.5721, allocations: 13.96 MB / 0.6404 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.5736, allocations: 1.298 MB / 0.6417 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001181/0.5748, allocations: 320 kB / 0.642 GB, free: 12.67 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009155/0.5757, allocations: 459.3 kB / 0.6424 GB, free: 12.22 MB / 494.1 MB Notification: Performance of SimCode: time 1.853e-06/0.5757, allocations: 4 kB / 0.6424 GB, free: 12.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08324/0.6589, allocations: 31.74 MB / 0.6734 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/16.15, allocations: 10.98 kB / 0.6734 GB, free: 12.7 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.049911128007807] Failed to read output from testmodel.py, exit status != 0: 16.3476012260071 16.366163786 15.92600372 Calling exit ...