Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.0008763/0.0008763, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008814/0.0008814, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9039/0.9039, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2212/0.2212, allocations: 29.41 MB / 290.1 MB, free: 2.465 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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_PSGR,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.598e-05, allocations: 8.672 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.008467/0.008493, allocations: 10.15 MB / 440.4 MB, free: 3.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1874/0.1959, allocations: 6.489 MB / 446.8 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.1971, allocations: 64.56 kB / 446.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01403/0.2112, allocations: 14.35 MB / 461.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.2141, allocations: 1.158 MB / 462.4 MB, free: 41.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.2156, allocations: 0.7064 MB / 463.1 MB, free: 41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003689/0.2193, allocations: 4.097 MB / 467.2 MB, free: 39.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009581/0.2202, allocations: 0.8299 MB / 468 MB, free: 39.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.2221, allocations: 1.445 MB / 469.5 MB, free: 38.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.2235, allocations: 1.362 MB / 470.9 MB, free: 38.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.2237, allocations: 146 kB / 471 MB, free: 38.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.2248, allocations: 0.5455 MB / 471.5 MB, free: 38.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006568/0.2254, allocations: 0.955 MB / 472.5 MB, free: 38.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006692/0.2261, allocations: 0.6586 MB / 473.2 MB, free: 37.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.2286, allocations: 2.548 MB / 475.7 MB, free: 37.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2286, allocations: 0 / 475.7 MB, free: 37.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2286, allocations: 0 / 475.7 MB, free: 37.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.937e-05/0.2286, allocations: 0 / 475.7 MB, free: 37.17 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.00345/0.2321, allocations: 2.121 MB / 477.8 MB, free: 35.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2321, allocations: 17.81 kB / 477.8 MB, free: 35.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002387/0.2324, allocations: 227.5 kB / 478.1 MB, free: 35.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.2335, allocations: 384.9 kB / 478.4 MB, free: 35.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.2355, allocations: 1.195 MB / 479.6 MB, free: 35.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.2355, allocations: 102.7 kB / 479.7 MB, free: 35.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003956/0.2359, allocations: 234.4 kB / 480 MB, free: 35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.2385, allocations: 2.148 MB / 482.1 MB, free: 34.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.2385, allocations: 8.719 kB / 482.1 MB, free: 34.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.2386, allocations: 60.64 kB / 482.2 MB, free: 34.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003636/0.239, allocations: 177.7 kB / 482.4 MB, free: 34.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.2414, allocations: 1.753 MB / 484.1 MB, free: 33.47 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.008181/0.2496, allocations: 7.65 MB / 491.8 MB, free: 28.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.2513, allocations: 1.297 MB / 493.1 MB, free: 28.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.2523, allocations: 0.7526 MB / 493.8 MB, free: 27.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.161e-05/0.2524, allocations: 20.5 kB / 493.8 MB, free: 27.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.2524, allocations: 52.97 kB / 493.9 MB, free: 27.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 2.835e-06/0.2524, allocations: 0 / 493.9 MB, free: 27.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.008102/0.2605, allocations: 4.943 MB / 498.8 MB, free: 25.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.2606, allocations: 93.08 kB / 498.9 MB, free: 25.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.2618, allocations: 1.066 MB / 500 MB, free: 25.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.311e-05/0.2619, allocations: 51.2 kB / 0.4883 GB, free: 25.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.2622, allocations: 0.7789 MB / 0.4891 GB, free: 24.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.2625, allocations: 0.5091 MB / 0.4896 GB, free: 24.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000314/0.2628, allocations: 313.5 kB / 0.4899 GB, free: 24.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.334e-05/0.2628, allocations: 306.3 kB / 0.4902 GB, free: 23.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008409/0.2636, allocations: 0.7205 MB / 0.4909 GB, free: 23.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009592/0.2646, allocations: 1.191 MB / 0.492 GB, free: 22.65 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.006447/0.271, allocations: 4.905 MB / 0.4968 GB, free: 19.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.2711, allocations: 4 kB / 0.4968 GB, free: 19.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.003934/0.275, allocations: 3.343 MB / 0.5001 GB, free: 16.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.275, allocations: 12 kB / 0.5001 GB, free: 16.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.275, allocations: 12 kB / 0.5001 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/0.2769, allocations: 1.243 MB / 0.5013 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/0.2775, allocations: 316.8 kB / 0.5016 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.2885, allocations: 15.39 MB / 0.5166 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.29, allocations: 67.95 kB / 0.5167 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/0.2901, allocations: 75.98 kB / 0.5168 GB, free: 14.46 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 5.051577893736758e-5 * $DER.generator.i_s[3] = 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: 63 * 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 (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,23), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001068/0.2912, allocations: 0.5239 MB / 0.5173 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.2914, allocations: 154.9 kB / 0.5174 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/0.2938, allocations: 1.821 MB / 0.5192 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.2939, allocations: 16 kB / 0.5192 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.2939, allocations: 3.688 kB / 0.5192 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.2939, allocations: 15.91 kB / 0.5193 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004777/0.2986, allocations: 3.351 MB / 0.5225 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.2987, allocations: 4.188 kB / 0.5225 GB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009342/0.2996, allocations: 319.6 kB / 0.5228 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003434/0.2999, allocations: 208 kB / 0.523 GB, free: 7.949 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.848e-05/0.3, allocations: 47.97 kB / 0.5231 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004019/0.304, allocations: 7.389 MB / 0.5303 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.304, allocations: 4.281 kB / 0.5303 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/0.3072, allocations: 2.528 MB / 0.5328 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005984/0.3078, allocations: 256 kB / 0.533 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.3079, allocations: 51.92 kB / 0.5331 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.3083, allocations: 55.94 kB / 0.5331 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.3085, allocations: 101.1 kB / 0.5332 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/0.3086, allocations: 39.98 kB / 0.5333 GB, free: 12.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007899/0.3094, allocations: 0.697 MB / 0.5339 GB, free: 12.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3094, allocations: 0 / 0.5339 GB, free: 12.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001616/0.311, allocations: 0.5116 MB / 0.5344 GB, free: 11.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 25 (inertia.phi,inertia.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],meterDC.pav,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]) * 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 (126): * Single equations (assignments): 120 * 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.003125/0.3141, allocations: 3.152 MB / 0.5375 GB, free: 8.426 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003417/0.3175, allocations: 2.768 MB / 0.5402 GB, free: 5.594 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3176, allocations: 1.625 kB / 0.5402 GB, free: 5.594 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.3189, allocations: 1.337 MB / 0.5415 GB, free: 4.191 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.32, allocations: 326 kB / 0.5418 GB, free: 3.879 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02264/0.3427, allocations: 17.17 MB / 0.5586 GB, free: 2.121 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008498/0.3435, allocations: 0.9604 MB / 0.5595 GB, free: 1.125 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009267/0.3445, allocations: 448 kB / 0.56 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006629/0.3451, allocations: 0.6604 MB / 0.5606 GB, free: 24 kB / 458.7 MB Notification: Performance of SimCode: time 1.392e-06/0.3451, allocations: 0 / 0.5606 GB, free: 24 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07068/0.4158, allocations: 43 MB / 0.6026 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.196/9.612, allocations: 3.984 kB / 0.6026 GB, free: 5.414 MB / 0.4948 GB " [Timeout remaining time 650] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR_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_PSGR.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.639603832736611] Failed to read output from testmodel.py, exit status != 0: 9.725718474015594 9.734017769 9.50368521 Calling exit ...