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.001434/0.001434, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001517/0.001517, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.499/1.499, allocations: 230.6 MB / 254.8 MB, free: 14.88 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.1896/0.1896, allocations: 38.5 MB / 349.4 MB, free: 2.559 MB / 270.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.001951/0.001951, allocations: 63.91 kB / 487.8 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.116, allocations: 62.42 MB / 0.5373 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01034/0.1263, allocations: 8.188 MB / 0.5453 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009306/0.1356, allocations: 5.553 MB / 0.5508 GB, free: 9.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005597/0.1362, allocations: 35.69 kB / 0.5508 GB, free: 9.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.1466, allocations: 5.267 MB / 0.5559 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.149, allocations: 0.8558 MB / 0.5568 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.1502, allocations: 499 kB / 0.5573 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003632/0.1539, allocations: 2.534 MB / 0.5597 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007981/0.1547, allocations: 0.505 MB / 0.5602 GB, free: 28 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.1559, allocations: 0.7939 MB / 0.561 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.1576, allocations: 1.114 MB / 0.5621 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.1578, allocations: 104 kB / 0.5622 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000929/0.1588, allocations: 399.5 kB / 0.5626 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007579/0.1595, allocations: 0.6662 MB / 0.5632 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008827/0.1604, allocations: 0.6959 MB / 0.5639 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.1629, allocations: 1.736 MB / 0.5656 GB, free: 10.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1629, allocations: 0 / 0.5656 GB, free: 10.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1629, allocations: 0 / 0.5656 GB, free: 10.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.536e-05/0.1629, allocations: 0 / 0.5656 GB, free: 10.51 MB / 430.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.003673/0.1666, allocations: 1.626 MB / 0.5672 GB, free: 8.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.1667, allocations: 16.03 kB / 0.5672 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.894e-05/0.1667, allocations: 26.19 kB / 0.5672 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002258/0.1669, allocations: 169.2 kB / 0.5674 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.1685, allocations: 267.8 kB / 0.5676 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.1706, allocations: 0.9689 MB / 0.5686 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.105e-05/0.1706, allocations: 69.98 kB / 0.5687 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004674/0.1711, allocations: 187.8 kB / 0.5688 GB, free: 7.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.1737, allocations: 1.56 MB / 0.5704 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/0.1737, allocations: 4 kB / 0.5704 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.1739, allocations: 47.91 kB / 0.5704 GB, free: 5.398 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006731/0.1745, allocations: 157.8 kB / 0.5706 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.177, allocations: 1.249 MB / 0.5718 GB, free: 3.984 MB / 430.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.009991/0.1869, allocations: 6.471 MB / 0.5781 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.1887, allocations: 0.8708 MB / 0.5789 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008467/0.1895, allocations: 488.5 kB / 0.5794 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.777e-05/0.1896, allocations: 16.97 kB / 0.5794 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.1896, allocations: 47.56 kB / 0.5795 GB, free: 11.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=91): time 2.945e-06/0.1896, allocations: 0 / 0.5795 GB, free: 11.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.007415/0.197, allocations: 3.708 MB / 0.5831 GB, free: 7.848 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.1971, allocations: 90.11 kB / 0.5832 GB, free: 7.738 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.1981, allocations: 0.7235 MB / 0.5839 GB, free: 7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.983e-05/0.1982, allocations: 41.7 kB / 0.5839 GB, free: 6.953 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.1987, allocations: 0.5706 MB / 0.5845 GB, free: 6.375 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/0.199, allocations: 384.7 kB / 0.5848 GB, free: 5.996 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004018/0.1994, allocations: 230.9 kB / 0.5851 GB, free: 5.766 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002519/0.1997, allocations: 418.8 kB / 0.5855 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.2007, allocations: 0.5647 MB / 0.586 GB, free: 4.781 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.202, allocations: 0.8853 MB / 0.5869 GB, free: 3.766 MB / 446.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.009278/0.2113, allocations: 3.236 MB / 0.59 GB, free: 416 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-05/0.2113, allocations: 8 kB / 0.5901 GB, free: 408 kB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.2426/0.4539, allocations: 2.685 MB / 0.5927 GB, free: 50.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.454, allocations: 9.375 kB / 0.5927 GB, free: 50.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.454, allocations: 10.81 kB / 0.5927 GB, free: 50.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003095/0.4571, allocations: 1.157 MB / 0.5938 GB, free: 50.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000843/0.4579, allocations: 200.5 kB / 0.594 GB, free: 50.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/0.4761, allocations: 12.3 MB / 0.606 GB, free: 44.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008956/0.477, allocations: 55.03 kB / 0.6061 GB, free: 44.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.4771, allocations: 52.14 kB / 0.6061 GB, free: 44.96 MB / 446.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.0006148/0.4777, allocations: 412.4 kB / 0.6065 GB, free: 44.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.4779, allocations: 103 kB / 0.6066 GB, free: 44.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.4801, allocations: 1.403 MB / 0.608 GB, free: 44.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.4801, allocations: 10.81 kB / 0.608 GB, free: 44.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4802, allocations: 6.438 kB / 0.608 GB, free: 44.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.4802, allocations: 4.641 kB / 0.608 GB, free: 44.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004117/0.4843, allocations: 2.666 MB / 0.6106 GB, free: 42.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.4843, allocations: 2.406 kB / 0.6106 GB, free: 42.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/0.4858, allocations: 277.6 kB / 0.6109 GB, free: 42.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001644/0.4859, allocations: 56.02 kB / 0.6109 GB, free: 42.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-05/0.486, allocations: 41.89 kB / 0.611 GB, free: 42.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.4875, allocations: 2.843 MB / 0.6137 GB, free: 39.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4875, allocations: 3.906 kB / 0.6138 GB, free: 39.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/0.4901, allocations: 1.894 MB / 0.6156 GB, free: 38.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.4906, allocations: 268.9 kB / 0.6159 GB, free: 38.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.4907, allocations: 35.72 kB / 0.6159 GB, free: 38.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005825/0.4913, allocations: 39.53 kB / 0.6159 GB, free: 38.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.4915, allocations: 69.69 kB / 0.616 GB, free: 38.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/0.4915, allocations: 36.45 kB / 0.616 GB, free: 38.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005177/0.492, allocations: 0.4894 MB / 0.6165 GB, free: 38.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.492, allocations: 0 / 0.6165 GB, free: 38.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001304/0.4933, allocations: 377.4 kB / 0.6169 GB, free: 38.47 MB / 446.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.002433/0.4958, allocations: 2.484 MB / 0.6193 GB, free: 36.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003247/0.499, allocations: 2.032 MB / 0.6213 GB, free: 35.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.499, allocations: 0 / 0.6213 GB, free: 35.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000901/0.4999, allocations: 0.7374 MB / 0.622 GB, free: 34.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009966/0.5009, allocations: 225 kB / 0.6222 GB, free: 34.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/0.519, allocations: 13.93 MB / 0.6358 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.5196, allocations: 1.306 MB / 0.6371 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007145/0.5204, allocations: 312 kB / 0.6374 GB, free: 18.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/0.5209, allocations: 459.3 kB / 0.6378 GB, free: 18.06 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5209, allocations: 0 / 0.6378 GB, free: 18.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0956/0.6165, allocations: 30.54 MB / 0.6677 GB, free: 3.723 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.35, allocations: 8.938 kB / 0.6677 GB, free: 3.715 MB / 462.1 MB " [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.236776542966254] Failed to read output from testmodel.py, exit status != 0: 15.521458300005179 15.543755851 15.375666617 Calling exit ...