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.00132/0.00132, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001501/0.001501, allocations: 213.8 kB / 23.73 MB, free: 4.41 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1904/0.1904, allocations: 38.56 MB / 352.5 MB, free: 12.3 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",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.002149/0.002149, allocations: 63.91 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.348, allocations: 62.47 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01255/0.3606, allocations: 7.667 MB / 0.5494 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009723/0.3703, allocations: 5.041 MB / 0.5543 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.3714, allocations: 38.66 kB / 0.5544 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01451/0.3859, allocations: 5.74 MB / 0.56 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002623/0.3885, allocations: 0.8597 MB / 0.5608 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.3901, allocations: 0.503 MB / 0.5613 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004526/0.3947, allocations: 2.62 MB / 0.5639 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.3959, allocations: 0.5477 MB / 0.5644 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.3977, allocations: 0.794 MB / 0.5652 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.3997, allocations: 1.082 MB / 0.5662 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003987/0.4001, allocations: 104 kB / 0.5663 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.4014, allocations: 387.5 kB / 0.5667 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.4026, allocations: 0.67 MB / 0.5674 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.4041, allocations: 0.5755 MB / 0.5679 GB, free: 9.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002947/0.407, allocations: 1.751 MB / 0.5696 GB, free: 7.832 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.407, allocations: 0 / 0.5696 GB, free: 7.832 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.407, allocations: 0 / 0.5696 GB, free: 7.832 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.012e-05/0.4071, allocations: 0 / 0.5696 GB, free: 7.832 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.004272/0.4113, allocations: 1.561 MB / 0.5712 GB, free: 6.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.4114, allocations: 11.98 kB / 0.5712 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003299/0.4117, allocations: 165.1 kB / 0.5713 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.4134, allocations: 283.8 kB / 0.5716 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002576/0.416, allocations: 0.8696 MB / 0.5725 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-05/0.4161, allocations: 73.97 kB / 0.5725 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005608/0.4166, allocations: 191.8 kB / 0.5727 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/0.4194, allocations: 1.556 MB / 0.5742 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/0.4195, allocations: 4 kB / 0.5742 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.4196, allocations: 43.97 kB / 0.5743 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00067/0.4203, allocations: 153.9 kB / 0.5744 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.4227, allocations: 1.249 MB / 0.5756 GB, free: 1.52 MB / 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.009468/0.4322, allocations: 5.64 MB / 0.5811 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.4338, allocations: 0.8741 MB / 0.582 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000838/0.4347, allocations: 484.5 kB / 0.5825 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.143e-05/0.4347, allocations: 13 kB / 0.5825 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.4348, allocations: 47.5 kB / 0.5825 GB, free: 10.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.547e-06/0.4348, allocations: 0 / 0.5825 GB, free: 10.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.006764/0.4416, allocations: 3.254 MB / 0.5857 GB, free: 6.906 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.4416, allocations: 90.11 kB / 0.5858 GB, free: 6.801 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009518/0.4426, allocations: 0.7389 MB / 0.5865 GB, free: 6.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-05/0.4427, allocations: 53.58 kB / 0.5866 GB, free: 5.992 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004531/0.4431, allocations: 0.5667 MB / 0.5871 GB, free: 5.418 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/0.4434, allocations: 380.7 kB / 0.5875 GB, free: 5.043 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/0.4438, allocations: 238.8 kB / 0.5877 GB, free: 4.805 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002331/0.444, allocations: 418.8 kB / 0.5881 GB, free: 4.387 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009754/0.445, allocations: 0.5609 MB / 0.5886 GB, free: 3.824 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.4462, allocations: 0.8892 MB / 0.5895 GB, free: 2.805 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.008775/0.455, allocations: 3.224 MB / 0.5927 GB, free: 15.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.455, allocations: 4 kB / 0.5927 GB, free: 15.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006168/0.4612, allocations: 2.702 MB / 0.5953 GB, free: 12.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.4612, allocations: 11.98 kB / 0.5953 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.4613, allocations: 12 kB / 0.5953 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003026/0.4643, allocations: 1.131 MB / 0.5964 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008421/0.4651, allocations: 203.7 kB / 0.5966 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/0.4844, allocations: 11.92 MB / 0.6083 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009026/0.4853, allocations: 59.91 kB / 0.6083 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.4854, allocations: 51.98 kB / 0.6084 GB, free: 15.12 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.0007127/0.4861, allocations: 409.3 kB / 0.6088 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.4863, allocations: 103.3 kB / 0.6089 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/0.4887, allocations: 1.253 MB / 0.6101 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.4887, allocations: 15.94 kB / 0.6101 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4887, allocations: 8 kB / 0.6101 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.4888, allocations: 3.984 kB / 0.6101 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004755/0.4935, allocations: 2.373 MB / 0.6124 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.4935, allocations: 4.219 kB / 0.6124 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.4951, allocations: 279.6 kB / 0.6127 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001992/0.4953, allocations: 57.67 kB / 0.6128 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.4954, allocations: 39.98 kB / 0.6128 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/0.4979, allocations: 2.613 MB / 0.6153 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.4979, allocations: 4.312 kB / 0.6153 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/0.501, allocations: 1.75 MB / 0.6171 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006325/0.5017, allocations: 175.3 kB / 0.6172 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.5019, allocations: 47.92 kB / 0.6173 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006609/0.5025, allocations: 39.91 kB / 0.6173 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.5027, allocations: 76.75 kB / 0.6174 GB, free: 5.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-05/0.5028, allocations: 31.98 kB / 0.6174 GB, free: 5.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007983/0.5036, allocations: 499 kB / 0.6179 GB, free: 4.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5036, allocations: 0 / 0.6179 GB, free: 4.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001457/0.505, allocations: 376 kB / 0.6182 GB, free: 4.613 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.00363/0.5087, allocations: 2.336 MB / 0.6205 GB, free: 2.219 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004351/0.513, allocations: 2.033 MB / 0.6225 GB, free: 164 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.513, allocations: 0 / 0.6225 GB, free: 164 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.5143, allocations: 0.7387 MB / 0.6232 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.5156, allocations: 221.3 kB / 0.6234 GB, free: 15.19 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02814/0.5437, allocations: 13.93 MB / 0.637 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.5449, allocations: 0.7132 MB / 0.6377 GB, free: 64 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001049/0.5459, allocations: 312.1 kB / 0.638 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008159/0.5467, allocations: 459.2 kB / 0.6385 GB, free: 15.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.302e-06/0.5467, allocations: 4 kB / 0.6385 GB, free: 15.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07822/0.625, allocations: 30.72 MB / 0.6685 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.61, allocations: 7.188 kB / 0.6685 GB, free: 0.8828 MB / 0.4981 GB " [Timeout remaining time 645] (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: 17.387302053626627] Failed to read output from testmodel.py, exit status != 0: 14.752124208956957 14.77431292 14.363911518 Calling exit ...