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.001771/0.001771, 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.002227/0.002227, 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.461/1.461, 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 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.1845/0.1845, allocations: 38.52 MB / 352.5 MB, free: 12.55 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.002262/0.002262, allocations: 67.91 kB / 492.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3163, allocations: 62.47 MB / 0.542 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01376/0.3301, allocations: 10.87 MB / 0.5526 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.3423, allocations: 6.332 MB / 0.5588 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.3435, allocations: 67.97 kB / 0.5589 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01473/0.3582, allocations: 6.169 MB / 0.5649 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003608/0.3618, allocations: 1.089 MB / 0.5659 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.3642, allocations: 0.6627 MB / 0.5666 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00676/0.371, allocations: 3.325 MB / 0.5698 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.373, allocations: 0.8553 MB / 0.5707 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.3752, allocations: 1.098 MB / 0.5717 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002675/0.3779, allocations: 1.456 MB / 0.5732 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005371/0.3784, allocations: 144 kB / 0.5733 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.3798, allocations: 467.4 kB / 0.5738 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.381, allocations: 0.8687 MB / 0.5746 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.3827, allocations: 0.9213 MB / 0.5755 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003552/0.3862, allocations: 2.292 MB / 0.5777 GB, free: 15.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3863, allocations: 0 / 0.5777 GB, free: 15.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3863, allocations: 0 / 0.5777 GB, free: 15.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.801e-05/0.3864, allocations: 0 / 0.5777 GB, free: 15.78 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.005752/0.3921, allocations: 2.045 MB / 0.5797 GB, free: 13.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.3922, allocations: 11.98 kB / 0.5797 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004269/0.3926, allocations: 224 kB / 0.58 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.3945, allocations: 331.5 kB / 0.5803 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002711/0.3972, allocations: 1.123 MB / 0.5814 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.265e-05/0.3973, allocations: 98.62 kB / 0.5815 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005345/0.3978, allocations: 231.8 kB / 0.5817 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/0.4012, allocations: 2.095 MB / 0.5837 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/0.4013, allocations: 19.89 kB / 0.5838 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.4014, allocations: 51.98 kB / 0.5838 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006269/0.402, allocations: 190.6 kB / 0.584 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002903/0.4049, allocations: 1.697 MB / 0.5856 GB, free: 7.48 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.01327/0.4182, allocations: 7.824 MB / 0.5933 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/0.4208, allocations: 1.242 MB / 0.5945 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.422, allocations: 0.6176 MB / 0.5951 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.955e-05/0.422, allocations: 16.98 kB / 0.5951 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/0.4221, allocations: 51.48 kB / 0.5952 GB, free: 13.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.527e-06/0.4221, allocations: 3.938 kB / 0.5952 GB, free: 13.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.009684/0.4318, allocations: 4.532 MB / 0.5996 GB, free: 8.801 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.4319, allocations: 90.42 kB / 0.5997 GB, free: 8.695 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.4334, allocations: 0.9349 MB / 0.6006 GB, free: 7.742 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.4335, allocations: 53.7 kB / 0.6006 GB, free: 7.684 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006836/0.4342, allocations: 0.7348 MB / 0.6014 GB, free: 6.938 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005478/0.4347, allocations: 0.5306 MB / 0.6019 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000514/0.4352, allocations: 303.5 kB / 0.6022 GB, free: 6.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4354, allocations: 301.1 kB / 0.6025 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.4366, allocations: 0.7105 MB / 0.6032 GB, free: 5.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.4384, allocations: 1.159 MB / 0.6043 GB, free: 3.742 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.01051/0.4489, allocations: 4.07 MB / 0.6083 GB, free: 15.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-05/0.4489, allocations: 4 kB / 0.6083 GB, free: 15.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.00717/0.4561, allocations: 3.233 MB / 0.6114 GB, free: 12.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.4561, allocations: 16.66 kB / 0.6114 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/0.4561, allocations: 12 kB / 0.6114 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003199/0.4593, allocations: 1.207 MB / 0.6126 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.4606, allocations: 295.5 kB / 0.6129 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02254/0.4831, allocations: 14.74 MB / 0.6273 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.4844, allocations: 71.94 kB / 0.6274 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002682/0.4847, allocations: 72 kB / 0.6274 GB, free: 11.36 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.001275/0.486, allocations: 0.5002 MB / 0.6279 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/0.4863, allocations: 135.1 kB / 0.6281 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003562/0.4899, allocations: 1.788 MB / 0.6298 GB, free: 8.906 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.4899, allocations: 20.08 kB / 0.6298 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.4899, allocations: 4 kB / 0.6298 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/0.4899, allocations: 11.97 kB / 0.6298 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00691/0.4969, allocations: 3.506 MB / 0.6333 GB, free: 5.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.4969, allocations: 4 kB / 0.6333 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.4986, allocations: 323.5 kB / 0.6336 GB, free: 4.926 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005443/0.4991, allocations: 191.3 kB / 0.6338 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.4993, allocations: 43.98 kB / 0.6338 GB, free: 4.684 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006227/0.5055, allocations: 6.255 MB / 0.6399 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.5055, allocations: 11.92 kB / 0.6399 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004488/0.51, allocations: 2.481 MB / 0.6423 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007703/0.5108, allocations: 254.8 kB / 0.6426 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/0.511, allocations: 47.92 kB / 0.6426 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000817/0.5118, allocations: 59.94 kB / 0.6427 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.5121, allocations: 105.1 kB / 0.6428 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.04e-05/0.5122, allocations: 43.94 kB / 0.6428 GB, free: 10.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001041/0.5132, allocations: 0.6283 MB / 0.6434 GB, free: 10.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5132, allocations: 0 / 0.6434 GB, free: 10.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001889/0.5151, allocations: 484 kB / 0.6439 GB, free: 9.801 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.004995/0.5201, allocations: 3.086 MB / 0.6469 GB, free: 6.621 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005259/0.5254, allocations: 2.629 MB / 0.6495 GB, free: 3.945 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.5254, allocations: 4 kB / 0.6495 GB, free: 3.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002069/0.5274, allocations: 1.198 MB / 0.6507 GB, free: 2.691 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.5292, allocations: 319.8 kB / 0.651 GB, free: 2.379 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03243/0.5616, allocations: 17.13 MB / 0.6677 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/0.5632, allocations: 1.521 MB / 0.6692 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001132/0.5643, allocations: 399.6 kB / 0.6696 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009982/0.5653, allocations: 0.6204 MB / 0.6702 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of SimCode: time 8.02e-07/0.5653, allocations: 0 / 0.6702 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09891/0.6642, allocations: 41.05 MB / 0.7103 GB, free: 5.254 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/16.66, allocations: 6.984 kB / 0.7103 GB, free: 5.25 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 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.446499031968415] Failed to read output from testmodel.py, exit status != 0: 16.804316150955856 16.833191707 16.441421055 Calling exit ...