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.001318/0.001318, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001523/0.001523, allocations: 211.9 kB / 23.74 MB, free: 4.656 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.1986/0.1986, allocations: 38.52 MB / 352.5 MB, free: 12.55 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.002426/0.002426, allocations: 67.89 kB / 492.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3338, allocations: 62.47 MB / 0.542 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01094/0.3447, allocations: 8.321 MB / 0.5501 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.3548, allocations: 5.577 MB / 0.5556 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000928/0.3557, allocations: 37.62 kB / 0.5556 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01432/0.37, allocations: 5.884 MB / 0.5613 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002774/0.3728, allocations: 0.8558 MB / 0.5622 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.3746, allocations: 0.5067 MB / 0.5627 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004909/0.3795, allocations: 2.624 MB / 0.5652 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.3808, allocations: 0.5633 MB / 0.5658 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.3825, allocations: 0.7862 MB / 0.5666 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002067/0.3846, allocations: 1.122 MB / 0.5677 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003401/0.3849, allocations: 104 kB / 0.5678 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.3862, allocations: 415.4 kB / 0.5682 GB, free: 9.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.3872, allocations: 0.67 MB / 0.5688 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.3885, allocations: 0.6881 MB / 0.5695 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.3911, allocations: 1.74 MB / 0.5712 GB, free: 6.559 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.3911, allocations: 3.984 kB / 0.5712 GB, free: 6.555 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3911, allocations: 0 / 0.5712 GB, free: 6.555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.054e-05/0.3912, allocations: 0 / 0.5712 GB, free: 6.555 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.003749/0.3949, allocations: 1.555 MB / 0.5727 GB, free: 4.965 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3949, allocations: 11.98 kB / 0.5727 GB, free: 4.953 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000256/0.3952, allocations: 169.2 kB / 0.5729 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.3967, allocations: 275.8 kB / 0.5731 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.399, allocations: 0.8735 MB / 0.574 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/0.3991, allocations: 73.98 kB / 0.5741 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004616/0.3995, allocations: 187.8 kB / 0.5742 GB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.4021, allocations: 1.564 MB / 0.5758 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.624e-05/0.4022, allocations: 4 kB / 0.5758 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.4023, allocations: 39.98 kB / 0.5758 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005856/0.4029, allocations: 149.9 kB / 0.5759 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.4052, allocations: 1.249 MB / 0.5772 GB, free: 256 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.01009/0.4153, allocations: 6.365 MB / 0.5834 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.417, allocations: 0.8812 MB / 0.5842 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008753/0.4179, allocations: 488.5 kB / 0.5847 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.876e-05/0.418, allocations: 16.98 kB / 0.5847 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/0.418, allocations: 39.56 kB / 0.5848 GB, free: 8.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 2.414e-06/0.418, allocations: 0 / 0.5848 GB, free: 8.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.007314/0.4254, allocations: 3.25 MB / 0.5879 GB, free: 4.797 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.4254, allocations: 86.11 kB / 0.588 GB, free: 4.695 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.4265, allocations: 0.7274 MB / 0.5887 GB, free: 3.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-05/0.4266, allocations: 41.7 kB / 0.5888 GB, free: 3.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005048/0.4271, allocations: 0.5667 MB / 0.5893 GB, free: 3.336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004341/0.4276, allocations: 384.8 kB / 0.5897 GB, free: 2.957 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003982/0.4279, allocations: 242.8 kB / 0.5899 GB, free: 2.715 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000259/0.4282, allocations: 422.7 kB / 0.5903 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.4292, allocations: 0.5608 MB / 0.5909 GB, free: 1.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.4306, allocations: 0.8892 MB / 0.5917 GB, free: 0.7109 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.009126/0.4397, allocations: 3.228 MB / 0.5949 GB, free: 13.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/0.4397, allocations: 3.984 kB / 0.5949 GB, free: 13.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.00686/0.4466, allocations: 2.694 MB / 0.5975 GB, free: 10.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.4466, allocations: 8 kB / 0.5975 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/0.4466, allocations: 12.62 kB / 0.5975 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003208/0.4498, allocations: 1.154 MB / 0.5987 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009228/0.4508, allocations: 199.7 kB / 0.5989 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02032/0.4711, allocations: 12.09 MB / 0.6107 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009207/0.472, allocations: 63.84 kB / 0.6107 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.4722, allocations: 51.94 kB / 0.6108 GB, free: 12.82 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.0007712/0.4729, allocations: 409.4 kB / 0.6112 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.4732, allocations: 95.39 kB / 0.6113 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.4757, allocations: 1.265 MB / 0.6125 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.4757, allocations: 8 kB / 0.6125 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4757, allocations: 0 / 0.6125 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.4757, allocations: 7.969 kB / 0.6125 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005173/0.4809, allocations: 2.493 MB / 0.6149 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.4809, allocations: 0 / 0.6149 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/0.4825, allocations: 275.9 kB / 0.6152 GB, free: 8.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001861/0.4827, allocations: 53.67 kB / 0.6153 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.4828, allocations: 43.97 kB / 0.6153 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/0.4852, allocations: 2.629 MB / 0.6179 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4852, allocations: 8.062 kB / 0.6179 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/0.4882, allocations: 1.747 MB / 0.6196 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005655/0.4887, allocations: 183.2 kB / 0.6198 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.4889, allocations: 39.98 kB / 0.6198 GB, free: 3.199 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006288/0.4895, allocations: 47.95 kB / 0.6198 GB, free: 3.152 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.4897, allocations: 72.75 kB / 0.6199 GB, free: 3.082 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-05/0.4898, allocations: 28 kB / 0.6199 GB, free: 3.055 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007103/0.4905, allocations: 499 kB / 0.6204 GB, free: 2.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4905, allocations: 4 kB / 0.6204 GB, free: 2.566 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001316/0.4918, allocations: 372 kB / 0.6208 GB, free: 2.203 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.003384/0.4952, allocations: 2.332 MB / 0.623 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004224/0.4994, allocations: 2.039 MB / 0.625 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.4994, allocations: 0 / 0.625 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.5007, allocations: 0.7387 MB / 0.6258 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.5019, allocations: 214.2 kB / 0.626 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02677/0.5287, allocations: 13.95 MB / 0.6396 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.5301, allocations: 1.306 MB / 0.6409 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009817/0.531, allocations: 312 kB / 0.6412 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008158/0.5319, allocations: 459.3 kB / 0.6416 GB, free: 12.27 MB / 494.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5319, allocations: 0 / 0.6416 GB, free: 12.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08171/0.6136, allocations: 31.72 MB / 0.6726 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/15.96, allocations: 11.78 kB / 0.6726 GB, free: 12.76 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: 18.76392888184637] Failed to read output from testmodel.py, exit status != 0: 16.1034016830381 16.132581693 15.735770917 Calling exit ...