Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001274/0.001274, allocations: 119.4 kB / 17.79 MB, free: 5.285 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.001386/0.001386, allocations: 204.3 kB / 20.74 MB, free: 2.34 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.552/1.552, 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-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1851/0.1851, allocations: 38.52 MB / 348.7 MB, free: 2.652 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-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_DFIG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_latest_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.002007/0.002007, allocations: 67.89 kB / 487.1 MB, free: 22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1131, allocations: 62.43 MB / 0.5367 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01347/0.1266, allocations: 10.74 MB / 0.5472 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.1377, allocations: 6.285 MB / 0.5533 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.1388, allocations: 67.44 kB / 0.5534 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01149/0.1503, allocations: 5.561 MB / 0.5588 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003363/0.1536, allocations: 1.089 MB / 0.5599 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.1555, allocations: 0.6472 MB / 0.5605 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005115/0.1606, allocations: 3.224 MB / 0.5636 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.162, allocations: 0.8206 MB / 0.5644 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.1641, allocations: 1.09 MB / 0.5655 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.1669, allocations: 1.452 MB / 0.5669 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000427/0.1673, allocations: 144 kB / 0.5671 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.1684, allocations: 447.5 kB / 0.5675 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009272/0.1693, allocations: 0.8648 MB / 0.5683 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.1706, allocations: 0.9252 MB / 0.5692 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003141/0.1738, allocations: 2.28 MB / 0.5715 GB, free: 3.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1738, allocations: 0 / 0.5715 GB, free: 3.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1738, allocations: 0 / 0.5715 GB, free: 3.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.333e-05/0.1738, allocations: 0 / 0.5715 GB, free: 3.691 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.004702/0.1786, allocations: 2.124 MB / 0.5735 GB, free: 1.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.1786, allocations: 12.03 kB / 0.5736 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003975/0.179, allocations: 224 kB / 0.5738 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/0.181, allocations: 331.5 kB / 0.5741 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/0.1837, allocations: 1.222 MB / 0.5753 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.067e-05/0.1838, allocations: 102.6 kB / 0.5754 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005521/0.1843, allocations: 223.9 kB / 0.5756 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/0.1878, allocations: 2.115 MB / 0.5777 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/0.1878, allocations: 3.953 kB / 0.5777 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.188, allocations: 59.92 kB / 0.5777 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007133/0.1887, allocations: 182.6 kB / 0.5779 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003115/0.1918, allocations: 1.709 MB / 0.5796 GB, free: 11.18 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.01207/0.2039, allocations: 7.92 MB / 0.5873 GB, free: 2.918 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.2065, allocations: 1.557 MB / 0.5888 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.2076, allocations: 0.6137 MB / 0.5894 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.319e-05/0.2077, allocations: 28.92 kB / 0.5894 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.2077, allocations: 47.56 kB / 0.5895 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 2.955e-06/0.2077, allocations: 0 / 0.5895 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.2589/0.4666, allocations: 5.114 MB / 0.5945 GB, free: 49.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.4667, allocations: 93.55 kB / 0.5946 GB, free: 49.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.4679, allocations: 0.938 MB / 0.5955 GB, free: 49.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.395e-05/0.468, allocations: 51.02 kB / 0.5955 GB, free: 49.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/0.4684, allocations: 0.7382 MB / 0.5963 GB, free: 48.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/0.4688, allocations: 0.5271 MB / 0.5968 GB, free: 48.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004907/0.4693, allocations: 308.2 kB / 0.5971 GB, free: 48.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.959e-05/0.4693, allocations: 301.7 kB / 0.5973 GB, free: 48.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.4706, allocations: 0.71 MB / 0.598 GB, free: 47.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.4721, allocations: 1.152 MB / 0.5992 GB, free: 47.16 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.01072/0.4828, allocations: 4.074 MB / 0.6031 GB, free: 45.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-05/0.4828, allocations: 7.688 kB / 0.6032 GB, free: 45.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006774/0.4896, allocations: 3.305 MB / 0.6064 GB, free: 44.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.4896, allocations: 12.2 kB / 0.6064 GB, free: 44.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/0.4896, allocations: 12.88 kB / 0.6064 GB, free: 44.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003041/0.4927, allocations: 1.2 MB / 0.6076 GB, free: 44.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.4939, allocations: 298.8 kB / 0.6079 GB, free: 44.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/0.5098, allocations: 15.15 MB / 0.6227 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.511, allocations: 71.95 kB / 0.6227 GB, free: 33.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.5112, allocations: 71.98 kB / 0.6228 GB, free: 33.86 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.0007579/0.512, allocations: 0.4953 MB / 0.6233 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.5122, allocations: 150.1 kB / 0.6234 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/0.5149, allocations: 2.007 MB / 0.6254 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.5149, allocations: 16 kB / 0.6254 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.5149, allocations: 7.938 kB / 0.6254 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.5149, allocations: 7.969 kB / 0.6254 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005039/0.52, allocations: 3.76 MB / 0.6291 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.52, allocations: 0 / 0.6291 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.5215, allocations: 323.6 kB / 0.6294 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004493/0.522, allocations: 194 kB / 0.6296 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.534e-05/0.5221, allocations: 47.97 kB / 0.6296 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003563/0.5256, allocations: 6.666 MB / 0.6361 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.5256, allocations: 7.938 kB / 0.6361 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/0.5288, allocations: 2.729 MB / 0.6388 GB, free: 16.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000551/0.5294, allocations: 324.1 kB / 0.6391 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.5296, allocations: 43.98 kB / 0.6391 GB, free: 16.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006806/0.5302, allocations: 51.95 kB / 0.6392 GB, free: 16.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.5304, allocations: 105 kB / 0.6393 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.5305, allocations: 40 kB / 0.6393 GB, free: 16.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006324/0.5311, allocations: 0.6244 MB / 0.6399 GB, free: 15.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5311, allocations: 0 / 0.6399 GB, free: 15.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001612/0.5328, allocations: 484 kB / 0.6404 GB, free: 14.91 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.003285/0.536, allocations: 3.327 MB / 0.6437 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00387/0.5399, allocations: 2.628 MB / 0.6462 GB, free: 8.773 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.5399, allocations: 0 / 0.6462 GB, free: 8.773 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.5415, allocations: 1.204 MB / 0.6474 GB, free: 7.523 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.5429, allocations: 317.9 kB / 0.6477 GB, free: 7.215 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02768/0.5706, allocations: 17.25 MB / 0.6645 GB, free: 5.348 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/0.5721, allocations: 1.521 MB / 0.666 GB, free: 3.789 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001142/0.5732, allocations: 399.6 kB / 0.6664 GB, free: 3.395 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009056/0.5741, allocations: 0.6165 MB / 0.667 GB, free: 2.777 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5741, allocations: 4 kB / 0.667 GB, free: 2.773 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09435/0.6685, allocations: 39.52 MB / 0.7056 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/16.27, allocations: 4.062 kB / 0.7056 GB, free: 11.51 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_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_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.419794712215662] Failed to read output from testmodel.py, exit status != 0: 16.3925676420331 16.414939815 16.236769191 Calling exit ...