Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.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.00164/0.00164, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002008/0.002008, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.475/1.475, 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/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.1906/0.1906, allocations: 38.5 MB / 348.7 MB, free: 2.594 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/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_DFIG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG",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.001966/0.001966, allocations: 71.89 kB / 487.1 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1126, allocations: 62.41 MB / 0.5367 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01319/0.1258, allocations: 10.74 MB / 0.5472 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.1375, allocations: 6.3 MB / 0.5533 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.1392, allocations: 67.44 kB / 0.5534 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01178/0.151, allocations: 5.55 MB / 0.5588 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.1537, allocations: 1.085 MB / 0.5598 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.1554, allocations: 0.6472 MB / 0.5605 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004481/0.1598, allocations: 3.228 MB / 0.5636 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.1611, allocations: 0.8129 MB / 0.5644 GB, free: 11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.1627, allocations: 1.094 MB / 0.5655 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.1647, allocations: 1.452 MB / 0.5669 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002737/0.165, allocations: 144 kB / 0.567 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009027/0.1659, allocations: 451.5 kB / 0.5675 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008905/0.1668, allocations: 0.8648 MB / 0.5683 GB, free: 7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.1678, allocations: 0.9213 MB / 0.5692 GB, free: 6.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.1706, allocations: 2.284 MB / 0.5715 GB, free: 3.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1706, allocations: 4 kB / 0.5715 GB, free: 3.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1706, allocations: 3.938 kB / 0.5715 GB, free: 3.773 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.793e-05/0.1706, allocations: 3.938 kB / 0.5715 GB, free: 3.77 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004362/0.175, allocations: 2.116 MB / 0.5735 GB, free: 1.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.175, allocations: 12.03 kB / 0.5735 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002971/0.1753, allocations: 220 kB / 0.5738 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.1772, allocations: 327.5 kB / 0.5741 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.1798, allocations: 1.23 MB / 0.5753 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.582e-05/0.1799, allocations: 98.55 kB / 0.5754 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005378/0.1804, allocations: 223.9 kB / 0.5756 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003403/0.1838, allocations: 2.107 MB / 0.5776 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.1839, allocations: 7.953 kB / 0.5776 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.1841, allocations: 67.97 kB / 0.5777 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006962/0.1847, allocations: 178.6 kB / 0.5779 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003124/0.1879, allocations: 1.713 MB / 0.5795 GB, free: 11.26 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.01229/0.2002, allocations: 7.924 MB / 0.5873 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00256/0.2027, allocations: 1.552 MB / 0.5888 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.2038, allocations: 0.6137 MB / 0.5894 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.036e-05/0.2039, allocations: 24.98 kB / 0.5894 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.2039, allocations: 47.55 kB / 0.5895 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.346e-06/0.2039, allocations: 4 kB / 0.5895 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.2401/0.444, allocations: 5.112 MB / 0.5945 GB, free: 49.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.4441, allocations: 93.14 kB / 0.5946 GB, free: 49.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.4454, allocations: 0.9423 MB / 0.5955 GB, free: 49.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-05/0.4455, allocations: 47.73 kB / 0.5955 GB, free: 49.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004851/0.4459, allocations: 0.7319 MB / 0.5962 GB, free: 48.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/0.4464, allocations: 0.528 MB / 0.5968 GB, free: 48.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004844/0.4469, allocations: 309.3 kB / 0.597 GB, free: 48.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.039e-05/0.4469, allocations: 301.9 kB / 0.5973 GB, free: 48.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.4481, allocations: 0.71 MB / 0.598 GB, free: 47.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.4495, allocations: 1.149 MB / 0.5991 GB, free: 47.1 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.01044/0.46, allocations: 4.081 MB / 0.6031 GB, free: 45.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.788e-05/0.46, allocations: 8.031 kB / 0.6031 GB, free: 45.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006997/0.467, allocations: 3.302 MB / 0.6064 GB, free: 44.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.467, allocations: 15.12 kB / 0.6064 GB, free: 44.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/0.467, allocations: 14.69 kB / 0.6064 GB, free: 44.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003155/0.4702, allocations: 1.187 MB / 0.6076 GB, free: 44.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.4714, allocations: 299 kB / 0.6078 GB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/0.4872, allocations: 15.15 MB / 0.6226 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.4885, allocations: 68.66 kB / 0.6227 GB, free: 33.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.4886, allocations: 78.72 kB / 0.6228 GB, free: 33.91 MB / 446.1 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.inertia.w = 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: 60 * 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 (146): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0007422/0.4893, allocations: 0.5024 MB / 0.6233 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.4895, allocations: 143 kB / 0.6234 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/0.4923, allocations: 2.009 MB / 0.6254 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.4923, allocations: 12 kB / 0.6254 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.4923, allocations: 7.938 kB / 0.6254 GB, free: 31.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.4923, allocations: 11.91 kB / 0.6254 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005265/0.4976, allocations: 3.755 MB / 0.6291 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.4976, allocations: 4 kB / 0.6291 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/0.4991, allocations: 323.6 kB / 0.6294 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004701/0.4996, allocations: 187.6 kB / 0.6296 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.4997, allocations: 45.48 kB / 0.6296 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003591/0.5033, allocations: 6.666 MB / 0.6361 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5033, allocations: 4 kB / 0.6361 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/0.5065, allocations: 2.729 MB / 0.6388 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005162/0.507, allocations: 321.2 kB / 0.6391 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.5072, allocations: 43.98 kB / 0.6391 GB, free: 16.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007022/0.5079, allocations: 55.95 kB / 0.6392 GB, free: 16.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.5081, allocations: 105 kB / 0.6393 GB, free: 16.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.531e-05/0.5082, allocations: 40 kB / 0.6393 GB, free: 16.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006609/0.5088, allocations: 0.6278 MB / 0.6399 GB, free: 15.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5088, allocations: 3.938 kB / 0.6399 GB, free: 15.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001614/0.5104, allocations: 487.9 kB / 0.6404 GB, free: 14.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 26 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],generator.phiRotor,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],inertia.phi,inertia.w,meterDC.pav,inverter2.vDC1) * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,10,100.0%), (1,1,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.003283/0.5137, allocations: 3.324 MB / 0.6436 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003843/0.5176, allocations: 2.624 MB / 0.6462 GB, free: 8.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5176, allocations: 0 / 0.6462 GB, free: 8.824 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.519, allocations: 1.205 MB / 0.6474 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.5204, allocations: 320.2 kB / 0.6477 GB, free: 7.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02684/0.5472, allocations: 17.24 MB / 0.6645 GB, free: 5.398 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.5486, allocations: 1.521 MB / 0.666 GB, free: 3.844 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00113/0.5498, allocations: 395.6 kB / 0.6664 GB, free: 3.453 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009116/0.5507, allocations: 0.6243 MB / 0.667 GB, free: 2.828 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5507, allocations: 0 / 0.667 GB, free: 2.828 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09621/0.6469, allocations: 39.49 MB / 0.7056 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/15.6, allocations: 4.062 kB / 0.7056 GB, free: 11.57 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG_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_DFIG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.596443249989534] Failed to read output from testmodel.py, exit status != 0: 15.720906857997761 15.749068059 15.573134567 Calling exit ...