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.001874/0.001874, allocations: 115.6 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.001849/0.001849, allocations: 213.6 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.1866/0.1866, allocations: 38.54 MB / 352.5 MB, free: 12.54 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_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.00206/0.00206, allocations: 67.17 kB / 492.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3303, allocations: 62.47 MB / 0.542 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01329/0.3436, allocations: 10.87 MB / 0.5526 GB, free: 7.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.3554, allocations: 6.324 MB / 0.5588 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.3568, allocations: 67.66 kB / 0.5589 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0143/0.3711, allocations: 6.176 MB / 0.5649 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003362/0.3744, allocations: 1.081 MB / 0.5659 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.3765, allocations: 0.6744 MB / 0.5666 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005713/0.3822, allocations: 3.317 MB / 0.5698 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.3837, allocations: 0.8553 MB / 0.5707 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.3855, allocations: 1.094 MB / 0.5717 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.3883, allocations: 1.46 MB / 0.5732 GB, free: 4.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003713/0.3887, allocations: 144 kB / 0.5733 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.39, allocations: 463.4 kB / 0.5737 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.3911, allocations: 0.8648 MB / 0.5746 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.3923, allocations: 0.9291 MB / 0.5755 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002975/0.3953, allocations: 2.296 MB / 0.5777 GB, free: 15.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3953, allocations: 0 / 0.5777 GB, free: 15.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3953, allocations: 0 / 0.5777 GB, free: 15.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.25e-05/0.3954, allocations: 0 / 0.5777 GB, free: 15.8 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.00453/0.3999, allocations: 2.033 MB / 0.5797 GB, free: 13.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.4, allocations: 19.98 kB / 0.5797 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002978/0.4003, allocations: 224 kB / 0.58 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/0.4021, allocations: 335.5 kB / 0.5803 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/0.405, allocations: 1.119 MB / 0.5814 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.983e-05/0.4051, allocations: 106.6 kB / 0.5815 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005456/0.4057, allocations: 219.9 kB / 0.5817 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003585/0.4092, allocations: 2.103 MB / 0.5837 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.848e-05/0.4093, allocations: 15.88 kB / 0.5838 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.4094, allocations: 59.98 kB / 0.5838 GB, free: 9.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006474/0.4101, allocations: 186.6 kB / 0.584 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003044/0.4131, allocations: 1.705 MB / 0.5857 GB, free: 7.484 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.01213/0.4253, allocations: 7.812 MB / 0.5933 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.4276, allocations: 1.253 MB / 0.5945 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.4287, allocations: 0.6165 MB / 0.5951 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.079e-05/0.4288, allocations: 13 kB / 0.5951 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.4289, allocations: 51.5 kB / 0.5952 GB, free: 13.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 2.985e-06/0.4289, allocations: 0 / 0.5952 GB, free: 13.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.009393/0.4383, allocations: 4.528 MB / 0.5996 GB, free: 8.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.4383, allocations: 98.36 kB / 0.5997 GB, free: 8.707 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.4397, allocations: 0.931 MB / 0.6006 GB, free: 7.758 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.4398, allocations: 53.67 kB / 0.6006 GB, free: 7.699 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006283/0.4404, allocations: 0.7426 MB / 0.6014 GB, free: 6.945 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005148/0.4409, allocations: 0.519 MB / 0.6019 GB, free: 6.422 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004793/0.4414, allocations: 315.5 kB / 0.6022 GB, free: 6.105 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4416, allocations: 301.1 kB / 0.6025 GB, free: 5.809 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.4428, allocations: 0.7027 MB / 0.6032 GB, free: 5.105 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.4444, allocations: 1.155 MB / 0.6043 GB, free: 3.762 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.01064/0.455, allocations: 4.074 MB / 0.6083 GB, free: 15.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.4551, allocations: 4 kB / 0.6083 GB, free: 15.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007272/0.4623, allocations: 3.229 MB / 0.6114 GB, free: 12.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.4624, allocations: 12 kB / 0.6114 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.4624, allocations: 16.66 kB / 0.6114 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003232/0.4656, allocations: 1.208 MB / 0.6126 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.467, allocations: 295.5 kB / 0.6129 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02117/0.4881, allocations: 14.74 MB / 0.6273 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.4893, allocations: 75.89 kB / 0.6274 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.4895, allocations: 71.98 kB / 0.6274 GB, free: 11.37 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.0009552/0.4904, allocations: 0.4972 MB / 0.6279 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.4907, allocations: 143.1 kB / 0.6281 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/0.4941, allocations: 1.792 MB / 0.6298 GB, free: 8.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.4941, allocations: 12 kB / 0.6298 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4941, allocations: 4 kB / 0.6298 GB, free: 8.895 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.4941, allocations: 7.969 kB / 0.6298 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006783/0.5009, allocations: 3.491 MB / 0.6332 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.5009, allocations: 4.031 kB / 0.6332 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/0.5026, allocations: 327.6 kB / 0.6336 GB, free: 4.953 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005235/0.5031, allocations: 199.2 kB / 0.6337 GB, free: 4.746 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.5033, allocations: 47.97 kB / 0.6338 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005897/0.5092, allocations: 6.251 MB / 0.6399 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.218e-06/0.5092, allocations: 15.98 kB / 0.6399 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004249/0.5134, allocations: 2.484 MB / 0.6423 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008/0.5142, allocations: 266.8 kB / 0.6426 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.5144, allocations: 43.98 kB / 0.6426 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007176/0.5151, allocations: 51.95 kB / 0.6427 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/0.5154, allocations: 105 kB / 0.6428 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.501e-05/0.5155, allocations: 43.98 kB / 0.6428 GB, free: 10.92 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00101/0.5165, allocations: 0.6284 MB / 0.6434 GB, free: 10.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5165, allocations: 3.938 kB / 0.6434 GB, free: 10.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001993/0.5185, allocations: 484 kB / 0.6439 GB, free: 9.809 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.004523/0.523, allocations: 3.085 MB / 0.6469 GB, free: 6.633 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004874/0.5279, allocations: 2.629 MB / 0.6495 GB, free: 3.957 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.5279, allocations: 0 / 0.6495 GB, free: 3.957 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.5299, allocations: 1.206 MB / 0.6507 GB, free: 2.699 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.5314, allocations: 322.1 kB / 0.651 GB, free: 2.391 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/0.5615, allocations: 17.12 MB / 0.6677 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.5629, allocations: 1.529 MB / 0.6692 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001203/0.5641, allocations: 391.6 kB / 0.6696 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009181/0.565, allocations: 0.6243 MB / 0.6702 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/0.565, allocations: 4 kB / 0.6702 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/0.6659, allocations: 41.06 MB / 0.7103 GB, free: 5.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.07/16.74, allocations: 0 / 0.7103 GB, free: 5.27 MB / 0.545 GB " [Timeout remaining time 643] (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.81541659200593] Failed to read output from testmodel.py, exit status != 0: 16.91411438400246 16.930603009 16.531658052 Calling exit ...