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.001888/0.001888, allocations: 116 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.002728/0.002728, allocations: 209.3 kB / 23.74 MB, free: 4.672 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.563/1.563, allocations: 230.6 MB / 257.5 MB, free: 7.977 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.1935/0.1935, allocations: 38.53 MB / 352.5 MB, free: 12.51 MB / 286.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.00206/0.00206, allocations: 59.91 kB / 492.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3181, allocations: 62.47 MB / 0.542 GB, free: 296 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01508/0.3332, allocations: 10.88 MB / 0.5526 GB, free: 7.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.3465, allocations: 6.324 MB / 0.5588 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.3489, allocations: 68 kB / 0.5589 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01522/0.3641, allocations: 6.167 MB / 0.5649 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003126/0.3672, allocations: 1.089 MB / 0.5659 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.3692, allocations: 0.6666 MB / 0.5666 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005418/0.3746, allocations: 3.321 MB / 0.5698 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.3761, allocations: 0.8631 MB / 0.5707 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/0.378, allocations: 1.09 MB / 0.5717 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002562/0.3806, allocations: 1.46 MB / 0.5732 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003676/0.3809, allocations: 144 kB / 0.5733 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.3821, allocations: 467.4 kB / 0.5738 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009744/0.3831, allocations: 0.8648 MB / 0.5746 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.3843, allocations: 0.9291 MB / 0.5755 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.3875, allocations: 2.292 MB / 0.5777 GB, free: 15.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3875, allocations: 0 / 0.5777 GB, free: 15.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3875, allocations: 0 / 0.5777 GB, free: 15.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.257e-05/0.3875, allocations: 0 / 0.5777 GB, free: 15.63 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.004828/0.3923, allocations: 2.037 MB / 0.5797 GB, free: 13.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3924, allocations: 15.98 kB / 0.5797 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003089/0.3927, allocations: 224 kB / 0.58 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.3945, allocations: 335.5 kB / 0.5803 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.3974, allocations: 1.119 MB / 0.5814 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.614e-05/0.3975, allocations: 110.5 kB / 0.5815 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005717/0.3981, allocations: 223.9 kB / 0.5817 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003572/0.4017, allocations: 2.099 MB / 0.5837 GB, free: 9.285 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.248e-05/0.4017, allocations: 15.88 kB / 0.5838 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.4019, allocations: 55.98 kB / 0.5838 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006538/0.4025, allocations: 186.6 kB / 0.584 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003257/0.4058, allocations: 1.705 MB / 0.5857 GB, free: 7.32 MB / 430.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.01436/0.4202, allocations: 7.816 MB / 0.5933 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.4228, allocations: 1.253 MB / 0.5945 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.424, allocations: 0.6059 MB / 0.5951 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.805e-05/0.4241, allocations: 16.98 kB / 0.5951 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.698e-05/0.4241, allocations: 51.5 kB / 0.5952 GB, free: 13.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.238e-06/0.4241, allocations: 0 / 0.5952 GB, free: 13.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.01079/0.4349, allocations: 4.525 MB / 0.5996 GB, free: 8.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.435, allocations: 94.42 kB / 0.5997 GB, free: 8.551 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.4363, allocations: 0.9388 MB / 0.6006 GB, free: 7.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001867/0.4365, allocations: 49.64 kB / 0.6006 GB, free: 7.539 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006321/0.4371, allocations: 0.7426 MB / 0.6014 GB, free: 6.785 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005822/0.4377, allocations: 0.519 MB / 0.6019 GB, free: 6.262 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004746/0.4382, allocations: 311.5 kB / 0.6022 GB, free: 5.949 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4383, allocations: 309.1 kB / 0.6025 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.4396, allocations: 0.7027 MB / 0.6032 GB, free: 4.941 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.4412, allocations: 1.151 MB / 0.6043 GB, free: 3.602 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.01108/0.4523, allocations: 4.074 MB / 0.6083 GB, free: 15.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/0.4523, allocations: 4 kB / 0.6083 GB, free: 15.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007495/0.4598, allocations: 3.229 MB / 0.6114 GB, free: 12.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.4598, allocations: 19.92 kB / 0.6114 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.4599, allocations: 12 kB / 0.6114 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003363/0.4632, allocations: 1.208 MB / 0.6126 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.4646, allocations: 291.5 kB / 0.6129 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02174/0.4863, allocations: 14.74 MB / 0.6273 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.4876, allocations: 75.95 kB / 0.6274 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.4878, allocations: 71.98 kB / 0.6274 GB, free: 11.21 MB / 478.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.001102/0.4889, allocations: 0.4933 MB / 0.6279 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.4892, allocations: 143.1 kB / 0.6281 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003515/0.4928, allocations: 1.784 MB / 0.6298 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.4928, allocations: 19.98 kB / 0.6298 GB, free: 8.742 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4928, allocations: 4 kB / 0.6298 GB, free: 8.738 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.4928, allocations: 3.984 kB / 0.6298 GB, free: 8.734 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00734/0.5001, allocations: 3.498 MB / 0.6332 GB, free: 5.117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.5001, allocations: 4.438 kB / 0.6332 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/0.5019, allocations: 327.5 kB / 0.6336 GB, free: 4.793 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/0.5025, allocations: 191.3 kB / 0.6337 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.5026, allocations: 51.97 kB / 0.6338 GB, free: 4.543 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006301/0.5089, allocations: 6.263 MB / 0.6399 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/0.5089, allocations: 7.938 kB / 0.6399 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004671/0.5136, allocations: 2.492 MB / 0.6423 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009162/0.5145, allocations: 254.8 kB / 0.6426 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.5148, allocations: 47.98 kB / 0.6426 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007673/0.5155, allocations: 59.94 kB / 0.6427 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.5158, allocations: 101 kB / 0.6428 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.329e-05/0.5159, allocations: 43.98 kB / 0.6428 GB, free: 10.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001038/0.5169, allocations: 0.6244 MB / 0.6434 GB, free: 10.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5169, allocations: 0 / 0.6434 GB, free: 10.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002091/0.519, allocations: 492 kB / 0.6439 GB, free: 9.645 MB / 494.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.005024/0.524, allocations: 3.082 MB / 0.6469 GB, free: 6.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005291/0.5293, allocations: 2.637 MB / 0.6495 GB, free: 3.785 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.5293, allocations: 0 / 0.6495 GB, free: 3.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.5315, allocations: 1.19 MB / 0.6507 GB, free: 2.543 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.5333, allocations: 322.6 kB / 0.651 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03366/0.5669, allocations: 17.13 MB / 0.6677 GB, free: 492 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/0.5685, allocations: 1.513 MB / 0.6692 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001308/0.5698, allocations: 403.6 kB / 0.6696 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.5708, allocations: 0.6203 MB / 0.6702 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/0.5708, allocations: 0 / 0.6702 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/0.6747, allocations: 41.06 MB / 0.7103 GB, free: 5.102 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/16.66, allocations: 4.062 kB / 0.7103 GB, free: 5.098 MB / 0.545 GB " [Timeout remaining time 643] (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: 19.73625157400238] Failed to read output from testmodel.py, exit status != 0: 16.80886382600147 16.838009154 16.445014154 Calling exit ...