Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001207/0.001207, allocations: 92.33 kB / 20.95 MB, free: 3.48 MB / 18.57 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.001376/0.001376, allocations: 161.3 kB / 24.25 MB, free: 184 kB / 18.57 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 0.9209/0.9209, allocations: 177.2 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2255/0.2255, allocations: 29.41 MB / 290.5 MB, free: 2.43 MB / 266.7 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_PSGI,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 368.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.341e-05, allocations: 6.312 kB / 368.4 MB, free: 11.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.008212/0.008226, allocations: 10.22 MB / 378.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008287/0.01651, allocations: 6.483 MB / 385.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.01759, allocations: 71.44 kB / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01498/0.03257, allocations: 14.31 MB / 399.5 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.0351, allocations: 1.173 MB / 400.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.03672, allocations: 0.752 MB / 401.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004532/0.04125, allocations: 4.203 MB / 405.6 MB, free: 6.512 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.0425, allocations: 0.8513 MB / 406.4 MB, free: 5.641 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.04449, allocations: 1.496 MB / 407.9 MB, free: 4.141 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.04629, allocations: 1.403 MB / 409.3 MB, free: 2.734 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003563/0.04665, allocations: 148 kB / 409.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009139/0.04756, allocations: 0.5655 MB / 410 MB, free: 2.023 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000607/0.04817, allocations: 0.9623 MB / 411 MB, free: 1.059 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008499/0.04902, allocations: 0.6819 MB / 411.7 MB, free: 384 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002575/0.05159, allocations: 2.617 MB / 414.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.0516, allocations: 0 / 414.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.0516, allocations: 4 kB / 414.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.082e-05/0.05169, allocations: 0 / 414.3 MB, free: 13.75 MB / 394.7 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.00389/0.05558, allocations: 2.201 MB / 416.5 MB, free: 11.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.05563, allocations: 11.98 kB / 416.5 MB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002267/0.05586, allocations: 228.5 kB / 416.7 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.05726, allocations: 0.5419 MB / 417.3 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.05921, allocations: 1.31 MB / 418.6 MB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/0.05927, allocations: 102.7 kB / 418.7 MB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003532/0.05962, allocations: 243.7 kB / 418.9 MB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.06192, allocations: 2.184 MB / 421.1 MB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.06196, allocations: 7.938 kB / 421.1 MB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.06206, allocations: 63.92 kB / 421.2 MB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003387/0.0624, allocations: 190.8 kB / 421.4 MB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002323/0.06473, allocations: 1.823 MB / 423.2 MB, free: 4.645 MB / 394.7 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.007716/0.07244, allocations: 7.616 MB / 430.8 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.07399, allocations: 1.384 MB / 432.2 MB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008848/0.07487, allocations: 0.785 MB / 433 MB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.976e-05/0.07494, allocations: 21.31 kB / 433 MB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.07498, allocations: 47.88 kB / 433.1 MB, free: 10.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.196e-06/0.07498, allocations: 4 kB / 433.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.007619/0.0826, allocations: 5.35 MB / 438.4 MB, free: 5.094 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.08265, allocations: 98.36 kB / 438.5 MB, free: 4.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.08367, allocations: 1.094 MB / 439.6 MB, free: 3.875 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.859e-05/0.08375, allocations: 49.7 kB / 439.6 MB, free: 3.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.08415, allocations: 0.8051 MB / 440.5 MB, free: 3.004 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000315/0.08447, allocations: 0.5461 MB / 441 MB, free: 2.453 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003075/0.08477, allocations: 323.5 kB / 441.3 MB, free: 2.129 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.08484, allocations: 301.1 kB / 441.6 MB, free: 1.832 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008046/0.08565, allocations: 0.7418 MB / 442.3 MB, free: 1.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1468/0.2324, allocations: 1.226 MB / 443.6 MB, free: 109.5 MB / 410.7 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.005891/0.2383, allocations: 4.327 MB / 447.9 MB, free: 108.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.2383, allocations: 3.125 kB / 447.9 MB, free: 108.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.004632/0.243, allocations: 3.701 MB / 451.6 MB, free: 107.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.243, allocations: 9.719 kB / 451.6 MB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.243, allocations: 16.34 kB / 451.6 MB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/0.2454, allocations: 1.447 MB / 453.1 MB, free: 107 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.2461, allocations: 288.1 kB / 453.4 MB, free: 107 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/0.2602, allocations: 20.11 MB / 473.5 MB, free: 94.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.2612, allocations: 81.31 kB / 473.6 MB, free: 94.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.2613, allocations: 82.59 kB / 473.6 MB, free: 94.02 MB / 410.7 MB Warning: The initial conditions are over specified. The following 4 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 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 (144): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0007087/0.2621, allocations: 0.5213 MB / 474.2 MB, free: 93.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.2623, allocations: 204.5 kB / 474.4 MB, free: 93.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.2642, allocations: 1.914 MB / 476.3 MB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.2642, allocations: 11.94 kB / 476.3 MB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.2642, allocations: 6.312 kB / 476.3 MB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.2642, allocations: 9.812 kB / 476.3 MB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/0.268, allocations: 3.489 MB / 479.8 MB, free: 91.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.268, allocations: 2.719 kB / 479.8 MB, free: 91.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009436/0.269, allocations: 344.6 kB / 480.1 MB, free: 91.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003255/0.2693, allocations: 207 kB / 480.3 MB, free: 91.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.2694, allocations: 48.42 kB / 480.4 MB, free: 91.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002733/0.2721, allocations: 7.405 MB / 487.8 MB, free: 84.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2721, allocations: 3.312 kB / 487.8 MB, free: 84.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/0.2749, allocations: 2.676 MB / 490.5 MB, free: 83.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000526/0.2755, allocations: 278.5 kB / 490.7 MB, free: 83.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.2756, allocations: 47.36 kB / 490.8 MB, free: 83.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.2761, allocations: 68.25 kB / 490.8 MB, free: 83.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.2762, allocations: 104.4 kB / 490.9 MB, free: 83.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/0.2763, allocations: 39.97 kB / 491 MB, free: 83.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007063/0.277, allocations: 0.716 MB / 491.7 MB, free: 82.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.277, allocations: 0 / 491.7 MB, free: 82.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001567/0.2786, allocations: 0.5487 MB / 492.2 MB, free: 82.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 26 (inertia.phi,inertia.w,meterDC.pav,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (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.002894/0.2815, allocations: 3.297 MB / 495.5 MB, free: 81.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003197/0.2847, allocations: 3.172 MB / 498.7 MB, free: 79.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.2847, allocations: 0 / 498.7 MB, free: 79.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.2858, allocations: 1.369 MB / 0.4884 GB, free: 78.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.2868, allocations: 332.9 kB / 0.4887 GB, free: 78.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/0.3059, allocations: 18.13 MB / 0.5064 GB, free: 62.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009325/0.3068, allocations: 1.006 MB / 0.5074 GB, free: 61.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001007/0.3078, allocations: 443.1 kB / 0.5078 GB, free: 61.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006823/0.3085, allocations: 0.6809 MB / 0.5085 GB, free: 60.97 MB / 410.7 MB Notification: Performance of SimCode: time 2.545e-06/0.3085, allocations: 0 / 0.5085 GB, free: 60.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06182/0.3703, allocations: 45.26 MB / 0.5527 GB, free: 16.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.522/9.893, allocations: 15.78 kB / 0.5527 GB, free: 16.14 MB / 410.7 MB " [Timeout remaining time 650] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & python3 -m fmpy simulate --output-file PowerSystems_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_PowerSystems_Examples_Wind_WindTurbine_PSGI.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.833355598151684] Failed to read output from testmodel.py, exit status != 0: 10.006499392911792 10.012529112 9.95940467 Calling exit ...