Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.001297/0.001297, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.00142/0.00142, allocations: 212.2 kB / 20.75 MB, free: 2.332 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.493/1.493, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1848/0.1848, allocations: 38.51 MB / 348.7 MB, free: 2.664 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-master/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_PSGI,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI",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.002085/0.002085, allocations: 67.89 kB / 487.1 MB, free: 22.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1096, allocations: 62.43 MB / 0.5367 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01366/0.1232, allocations: 11.17 MB / 0.5476 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.1352, allocations: 7.133 MB / 0.5545 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.1364, allocations: 67.44 kB / 0.5546 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02213/0.1586, allocations: 12.96 MB / 0.5673 GB, free: 8.152 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003361/0.1619, allocations: 1.14 MB / 0.5684 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.1639, allocations: 0.6901 MB / 0.5691 GB, free: 6.316 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006101/0.17, allocations: 4.024 MB / 0.573 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.1714, allocations: 0.8052 MB / 0.5738 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.1734, allocations: 1.144 MB / 0.5749 GB, free: 316 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.1758, allocations: 1.557 MB / 0.5764 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003055/0.1761, allocations: 152 kB / 0.5766 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.1773, allocations: 0.5617 MB / 0.5771 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009346/0.1782, allocations: 0.9194 MB / 0.578 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.1794, allocations: 0.9873 MB / 0.579 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003166/0.1825, allocations: 2.584 MB / 0.5815 GB, free: 9.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1825, allocations: 0 / 0.5815 GB, free: 9.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1825, allocations: 0 / 0.5815 GB, free: 9.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.633e-05/0.1826, allocations: 0 / 0.5815 GB, free: 9.527 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.004838/0.1874, allocations: 2.292 MB / 0.5837 GB, free: 7.172 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1875, allocations: 8.031 kB / 0.5837 GB, free: 7.164 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003091/0.1878, allocations: 232.5 kB / 0.584 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002228/0.19, allocations: 387.1 kB / 0.5843 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/0.1929, allocations: 1.343 MB / 0.5856 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.479e-05/0.193, allocations: 106.7 kB / 0.5857 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006025/0.1936, allocations: 235.8 kB / 0.586 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003583/0.1971, allocations: 2.196 MB / 0.5881 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.752e-05/0.1972, allocations: 11.92 kB / 0.5881 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.1974, allocations: 59.92 kB / 0.5882 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000707/0.1981, allocations: 182.8 kB / 0.5884 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003323/0.2014, allocations: 1.83 MB / 0.5901 GB, free: 440 kB / 446.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.2485/0.4499, allocations: 8.536 MB / 0.5985 GB, free: 47.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/0.4528, allocations: 1.842 MB / 0.6003 GB, free: 46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.4543, allocations: 0.7485 MB / 0.601 GB, free: 45.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.421e-05/0.4544, allocations: 20.02 kB / 0.601 GB, free: 45.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.4544, allocations: 57.19 kB / 0.6011 GB, free: 45.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.807e-06/0.4544, allocations: 0.625 kB / 0.6011 GB, free: 45.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02562/0.48, allocations: 9.239 MB / 0.6101 GB, free: 41.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.4801, allocations: 102.2 kB / 0.6102 GB, free: 41.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.4815, allocations: 1.064 MB / 0.6112 GB, free: 41.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001981/0.4816, allocations: 56.36 kB / 0.6113 GB, free: 41.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.4821, allocations: 0.7993 MB / 0.6121 GB, free: 40.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004783/0.4825, allocations: 0.6201 MB / 0.6127 GB, free: 40.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005064/0.483, allocations: 350.6 kB / 0.613 GB, free: 40.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.548e-05/0.4831, allocations: 304.5 kB / 0.6133 GB, free: 39.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.4844, allocations: 0.8499 MB / 0.6141 GB, free: 39.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.4858, allocations: 1.349 MB / 0.6154 GB, free: 38.49 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.01318/0.499, allocations: 5.189 MB / 0.6205 GB, free: 35.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.35e-05/0.499, allocations: 7.906 kB / 0.6205 GB, free: 35.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.008498/0.5075, allocations: 4.142 MB / 0.6246 GB, free: 32.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.5075, allocations: 12 kB / 0.6246 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.5075, allocations: 12 kB / 0.6246 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004189/0.5117, allocations: 1.611 MB / 0.6262 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.5129, allocations: 315.5 kB / 0.6265 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02156/0.5345, allocations: 20.91 MB / 0.6469 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.5361, allocations: 95.83 kB / 0.647 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.5362, allocations: 83.98 kB / 0.6471 GB, free: 8.219 MB / 446.1 MB Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.PI.x = 0.0 $DER.generator.psi_s[2] = 0.0 $DER.generator.psi_s[1] = 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: 66 * 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 (152): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,8,100.0%), (1,1,100.0%), (3,24,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0008167/0.5371, allocations: 0.5441 MB / 0.6476 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.5373, allocations: 159 kB / 0.6477 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/0.5418, allocations: 2.799 MB / 0.6505 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.5418, allocations: 19.94 kB / 0.6505 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.5418, allocations: 4 kB / 0.6505 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.5418, allocations: 7.969 kB / 0.6505 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007885/0.5497, allocations: 4.803 MB / 0.6552 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.5497, allocations: 4 kB / 0.6552 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001865/0.5516, allocations: 343.8 kB / 0.6555 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/0.5532, allocations: 0.4953 MB / 0.656 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/0.5534, allocations: 60.09 kB / 0.6561 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/0.5665, allocations: 12.74 MB / 0.6685 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.5665, allocations: 8.125 kB / 0.6685 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007056/0.5735, allocations: 3.71 MB / 0.6721 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009165/0.5744, allocations: 375.9 kB / 0.6725 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.5747, allocations: 47.98 kB / 0.6726 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009375/0.5756, allocations: 76.06 kB / 0.6726 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/0.5759, allocations: 137 kB / 0.6728 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.5761, allocations: 43.98 kB / 0.6728 GB, free: 12.45 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001048/0.5771, allocations: 0.7139 MB / 0.6735 GB, free: 11.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5771, allocations: 4 kB / 0.6735 GB, free: 11.72 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002186/0.5793, allocations: 0.5937 MB / 0.6741 GB, free: 11.13 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 24 (inertia.w,meterDC.pav,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],inverter2.vDC1,line.v[1,2],line.v[1,3],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],PI.x) * 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 (138): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (2,6,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007313/0.5866, allocations: 4.34 MB / 0.6783 GB, free: 6.637 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006231/0.5928, allocations: 3.385 MB / 0.6816 GB, free: 3.176 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5928, allocations: 4 kB / 0.6816 GB, free: 3.172 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003067/0.5959, allocations: 1.826 MB / 0.6834 GB, free: 1.254 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.5975, allocations: 347.5 kB / 0.6837 GB, free: 0.918 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03708/0.6346, allocations: 19.87 MB / 0.7031 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001661/0.6363, allocations: 1.652 MB / 0.7048 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001262/0.6375, allocations: 437.3 kB / 0.7052 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.6386, allocations: 0.7023 MB / 0.7059 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/0.6386, allocations: 4 kB / 0.7059 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/0.7608, allocations: 48.35 MB / 0.7531 GB, free: 9.359 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/16.93, allocations: 0 / 0.7531 GB, free: 9.359 MB / 0.545 GB " [Timeout remaining time 643] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.973152472171932] Failed to read output from testmodel.py, exit status != 0: 17.057922176085413 17.085409336 16.89742257 Calling exit ...