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.0008139/0.0008139, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008391/0.0008391, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 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.862/0.862, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2201/0.2201, allocations: 29.41 MB / 290.1 MB, free: 2.457 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.854e-06/1.854e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.957e-05, allocations: 6.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.009107/0.009136, allocations: 10.21 MB / 440.4 MB, free: 3.348 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1829/0.192, allocations: 6.485 MB / 446.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008723/0.1929, allocations: 73.84 kB / 447 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0122/0.2051, allocations: 14.31 MB / 461.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.2071, allocations: 1.173 MB / 462.5 MB, free: 41.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.2083, allocations: 0.753 MB / 463.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002864/0.2112, allocations: 4.199 MB / 467.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008864/0.2121, allocations: 0.8555 MB / 468.3 MB, free: 39.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.2132, allocations: 1.495 MB / 469.8 MB, free: 38.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.2144, allocations: 1.395 MB / 471.2 MB, free: 38.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002262/0.2146, allocations: 150.3 kB / 471.3 MB, free: 38.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007184/0.2153, allocations: 0.5656 MB / 471.9 MB, free: 38.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004459/0.2158, allocations: 0.9646 MB / 472.8 MB, free: 38.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005209/0.2163, allocations: 0.6753 MB / 473.5 MB, free: 37.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.2185, allocations: 2.62 MB / 476.1 MB, free: 36.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2185, allocations: 1.266 kB / 476.1 MB, free: 36.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.2185, allocations: 5.125 kB / 476.1 MB, free: 36.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.632e-05/0.2186, allocations: 0 / 476.1 MB, free: 36.99 MB / 410.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.00377/0.2224, allocations: 2.201 MB / 478.3 MB, free: 35.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.2224, allocations: 13.33 kB / 478.3 MB, free: 35.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002431/0.2227, allocations: 229 kB / 478.6 MB, free: 35.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.2239, allocations: 406.8 kB / 479 MB, free: 35.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.2261, allocations: 1.233 MB / 480.2 MB, free: 34.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.908e-05/0.2261, allocations: 105.5 kB / 480.3 MB, free: 34.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003921/0.2265, allocations: 237.5 kB / 480.5 MB, free: 34.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.2291, allocations: 2.196 MB / 482.7 MB, free: 33.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/0.2291, allocations: 4.438 kB / 482.7 MB, free: 33.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.2292, allocations: 63.72 kB / 482.8 MB, free: 33.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003486/0.2295, allocations: 186.2 kB / 483 MB, free: 33.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.2317, allocations: 1.823 MB / 484.8 MB, free: 33.21 MB / 410.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.008389/0.2401, allocations: 7.596 MB / 492.4 MB, free: 28.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.2418, allocations: 1.38 MB / 493.8 MB, free: 27.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009841/0.2428, allocations: 0.7716 MB / 494.5 MB, free: 27.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.236e-05/0.2429, allocations: 20.59 kB / 494.6 MB, free: 27.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.025e-05/0.243, allocations: 45.91 kB / 494.6 MB, free: 27.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.477e-06/0.243, allocations: 0 / 494.6 MB, free: 27.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.00879/0.2518, allocations: 5.3 MB / 499.9 MB, free: 25.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.2518, allocations: 103 kB / 0.4883 GB, free: 25.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.2529, allocations: 1.102 MB / 0.4894 GB, free: 25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.527e-05/0.253, allocations: 51.05 kB / 0.4894 GB, free: 24.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.2533, allocations: 0.795 MB / 0.4902 GB, free: 24.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.2536, allocations: 0.5473 MB / 0.4907 GB, free: 23.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/0.2539, allocations: 328.2 kB / 0.491 GB, free: 23.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.601e-05/0.2539, allocations: 302.5 kB / 0.4913 GB, free: 23.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007634/0.2547, allocations: 0.7422 MB / 0.4921 GB, free: 22.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008874/0.2556, allocations: 1.225 MB / 0.4933 GB, free: 22.01 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.005181/0.2607, allocations: 4.329 MB / 0.4975 GB, free: 18.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.2607, allocations: 4 kB / 0.4975 GB, free: 18.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.003813/0.2646, allocations: 3.629 MB / 0.501 GB, free: 15.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2646, allocations: 15.94 kB / 0.501 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.2646, allocations: 21.05 kB / 0.5011 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.2666, allocations: 1.435 MB / 0.5025 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005715/0.2672, allocations: 283.5 kB / 0.5027 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.2803, allocations: 20.01 MB / 0.5223 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009368/0.2812, allocations: 88.05 kB / 0.5224 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.2813, allocations: 78.66 kB / 0.5224 GB, free: 8.438 MB / 426.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.0008062/0.2821, allocations: 0.5297 MB / 0.5229 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.2823, allocations: 159 kB / 0.5231 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.2844, allocations: 1.908 MB / 0.525 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2844, allocations: 12 kB / 0.525 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.2844, allocations: 4 kB / 0.525 GB, free: 5.793 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.2844, allocations: 3.984 kB / 0.525 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004146/0.2886, allocations: 3.49 MB / 0.5284 GB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.2886, allocations: 4.25 kB / 0.5284 GB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008371/0.2894, allocations: 347.5 kB / 0.5287 GB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002927/0.2897, allocations: 208.1 kB / 0.5289 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.377e-05/0.2898, allocations: 51.97 kB / 0.529 GB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003319/0.2931, allocations: 7.38 MB / 0.5362 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2931, allocations: 4.031 kB / 0.5362 GB, free: 9.668 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/0.2958, allocations: 2.638 MB / 0.5388 GB, free: 6.969 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.2962, allocations: 262.9 kB / 0.539 GB, free: 6.711 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.2963, allocations: 51.94 kB / 0.5391 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.2967, allocations: 59.94 kB / 0.5391 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.2969, allocations: 109 kB / 0.5392 GB, free: 6.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.486e-05/0.2969, allocations: 47.91 kB / 0.5393 GB, free: 6.449 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006211/0.2975, allocations: 0.7139 MB / 0.54 GB, free: 5.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2976, allocations: 0 / 0.54 GB, free: 5.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001319/0.2989, allocations: 0.5429 MB / 0.5405 GB, free: 5.188 MB / 442.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.002848/0.3017, allocations: 3.258 MB / 0.5437 GB, free: 1.863 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003213/0.3049, allocations: 3.155 MB / 0.5468 GB, free: 14.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3049, allocations: 0.625 kB / 0.5468 GB, free: 14.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.3061, allocations: 1.364 MB / 0.5481 GB, free: 13.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009057/0.307, allocations: 342.6 kB / 0.5484 GB, free: 12.87 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/0.3272, allocations: 17.99 MB / 0.566 GB, free: 10.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007979/0.328, allocations: 1.005 MB / 0.567 GB, free: 9.23 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007718/0.3288, allocations: 440.7 kB / 0.5674 GB, free: 8.793 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006292/0.3294, allocations: 0.6839 MB / 0.5681 GB, free: 8.109 MB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3294, allocations: 0 / 0.5681 GB, free: 8.109 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06577/0.3952, allocations: 45.02 MB / 0.612 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.939/9.334, allocations: 11.92 kB / 0.612 GB, free: 11.49 MB / 0.5105 GB " [Timeout remaining time 651] (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.278393895365298] Failed to read output from testmodel.py, exit status != 0: 9.45006165560335 9.458442285 9.238354947 Calling exit ...