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.001682/0.001682, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002245/0.002245, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] 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.1953/0.1953, allocations: 38.52 MB / 352.4 MB, free: 12.59 MB / 286.1 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_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.002088/0.002088, allocations: 78.55 kB / 492.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3254, allocations: 62.47 MB / 0.542 GB, free: 480 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01554/0.3409, allocations: 11.3 MB / 0.553 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.3573, allocations: 7.16 MB / 0.56 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.3592, allocations: 67.84 kB / 0.5601 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02631/0.3855, allocations: 14.48 MB / 0.5742 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.3888, allocations: 1.143 MB / 0.5754 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.3911, allocations: 0.7096 MB / 0.576 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008079/0.3992, allocations: 4.188 MB / 0.5801 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.4011, allocations: 0.8631 MB / 0.581 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.4039, allocations: 1.152 MB / 0.5821 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003035/0.4069, allocations: 1.561 MB / 0.5836 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005324/0.4075, allocations: 156 kB / 0.5838 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.4092, allocations: 0.5968 MB / 0.5844 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.4103, allocations: 0.9155 MB / 0.5853 GB, free: 8.148 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.4118, allocations: 0.9873 MB / 0.5862 GB, free: 7.156 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004287/0.4161, allocations: 2.588 MB / 0.5887 GB, free: 4.559 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.4161, allocations: 0 / 0.5887 GB, free: 4.559 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4161, allocations: 0 / 0.5887 GB, free: 4.559 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.87e-05/0.4162, allocations: 0 / 0.5887 GB, free: 4.559 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.005955/0.4221, allocations: 2.223 MB / 0.5909 GB, free: 2.293 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.4222, allocations: 11.98 kB / 0.5909 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004033/0.4226, allocations: 228.5 kB / 0.5911 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/0.4249, allocations: 395 kB / 0.5915 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00398/0.4289, allocations: 1.236 MB / 0.5927 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.429, allocations: 106.7 kB / 0.5928 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009479/0.4299, allocations: 235.8 kB / 0.5931 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004226/0.4342, allocations: 2.2 MB / 0.5952 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.717e-05/0.4342, allocations: 7.922 kB / 0.5952 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.4344, allocations: 59.98 kB / 0.5953 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006773/0.4351, allocations: 190.8 kB / 0.5954 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003986/0.439, allocations: 1.83 MB / 0.5972 GB, free: 11.65 MB / 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.01425/0.4533, allocations: 8.422 MB / 0.6055 GB, free: 2.824 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.4559, allocations: 1.388 MB / 0.6068 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.4573, allocations: 0.7512 MB / 0.6076 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.306e-05/0.4574, allocations: 21.3 kB / 0.6076 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.4574, allocations: 47.88 kB / 0.6076 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.136e-06/0.4574, allocations: 0 / 0.6076 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02414/0.4816, allocations: 8.483 MB / 0.6159 GB, free: 8.051 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.4816, allocations: 94.42 kB / 0.616 GB, free: 7.938 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.4832, allocations: 1.071 MB / 0.617 GB, free: 6.855 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.4833, allocations: 57.73 kB / 0.6171 GB, free: 6.793 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006935/0.484, allocations: 0.8092 MB / 0.6179 GB, free: 5.973 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006915/0.4847, allocations: 0.612 MB / 0.6185 GB, free: 5.355 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006092/0.4853, allocations: 351.4 kB / 0.6188 GB, free: 5.008 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4855, allocations: 301.1 kB / 0.6191 GB, free: 4.711 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.4871, allocations: 0.8511 MB / 0.6199 GB, free: 3.855 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.4892, allocations: 1.344 MB / 0.6212 GB, free: 2.305 MB / 462.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.01482/0.504, allocations: 5.187 MB / 0.6263 GB, free: 12.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-05/0.504, allocations: 4 kB / 0.6263 GB, free: 12.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.01035/0.5144, allocations: 3.999 MB / 0.6302 GB, free: 8.914 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.5144, allocations: 12 kB / 0.6302 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.211e-05/0.5144, allocations: 16 kB / 0.6302 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005132/0.5196, allocations: 1.606 MB / 0.6318 GB, free: 7.262 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.521, allocations: 315.5 kB / 0.6321 GB, free: 6.953 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03058/0.5516, allocations: 20.29 MB / 0.6519 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.5532, allocations: 87.94 kB / 0.652 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000221/0.5534, allocations: 87.97 kB / 0.6521 GB, free: 1.781 MB / 494.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.00106/0.5544, allocations: 0.5559 MB / 0.6526 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003299/0.5548, allocations: 159 kB / 0.6528 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005588/0.5604, allocations: 2.488 MB / 0.6552 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.5604, allocations: 19.98 kB / 0.6552 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.5604, allocations: 8 kB / 0.6552 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-05/0.5604, allocations: 7.969 kB / 0.6553 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009695/0.5701, allocations: 4.48 MB / 0.6596 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/0.5701, allocations: 4 kB / 0.6596 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001872/0.572, allocations: 347.8 kB / 0.66 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001695/0.5737, allocations: 0.4899 MB / 0.6604 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/0.5739, allocations: 55.97 kB / 0.6605 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/0.5872, allocations: 12.03 MB / 0.6723 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5872, allocations: 0 / 0.6723 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007319/0.5945, allocations: 3.409 MB / 0.6756 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.5956, allocations: 302.7 kB / 0.6759 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/0.5959, allocations: 51.98 kB / 0.6759 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000991/0.5968, allocations: 75.92 kB / 0.676 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003797/0.5972, allocations: 129 kB / 0.6761 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.5973, allocations: 47.98 kB / 0.6762 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001046/0.5984, allocations: 0.7139 MB / 0.6769 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5984, allocations: 0 / 0.6769 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002369/0.6008, allocations: 0.5976 MB / 0.6774 GB, free: 6.766 MB / 0.5137 GB 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.007516/0.6083, allocations: 4.039 MB / 0.6814 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006621/0.6149, allocations: 3.383 MB / 0.6847 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.6149, allocations: 0 / 0.6847 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003424/0.6183, allocations: 1.826 MB / 0.6865 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.6201, allocations: 339.7 kB / 0.6868 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03959/0.6597, allocations: 19.64 MB / 0.706 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.6613, allocations: 1.649 MB / 0.7076 GB, free: 6.887 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001319/0.6626, allocations: 437.3 kB / 0.708 GB, free: 6.453 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.6636, allocations: 0.6984 MB / 0.7087 GB, free: 5.754 MB / 0.545 GB Notification: Performance of SimCode: time 9.71e-07/0.6636, allocations: 0 / 0.7087 GB, free: 5.754 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4277/1.091, allocations: 50.18 MB / 0.7577 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.85/17.94, allocations: 13.5 kB / 0.7577 GB, free: 157.3 MB / 0.5606 GB " [Timeout remaining time 642] (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: 21.080182983001578] Failed to read output from testmodel.py, exit status != 0: 18.155303854997328 18.167006622 17.748432605 Calling exit ...