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.001356/0.001356, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001652/0.001652, allocations: 210.4 kB / 23.73 MB, free: 4.387 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.1832/0.1832, allocations: 38.56 MB / 352.5 MB, free: 12.29 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.002107/0.002107, allocations: 63.91 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.388, allocations: 62.48 MB / 0.5419 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01315/0.4012, allocations: 9.92 MB / 0.5516 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.4132, allocations: 5.746 MB / 0.5572 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.4143, allocations: 63.47 kB / 0.5573 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01261/0.4269, allocations: 6.014 MB / 0.5632 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003627/0.4305, allocations: 1.085 MB / 0.5642 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.4325, allocations: 0.6667 MB / 0.5649 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005231/0.4377, allocations: 3.302 MB / 0.5681 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.439, allocations: 0.8552 MB / 0.5689 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.4408, allocations: 1.105 MB / 0.57 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.4429, allocations: 1.394 MB / 0.5714 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002526/0.4431, allocations: 148 kB / 0.5715 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009384/0.444, allocations: 439.5 kB / 0.5719 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008768/0.4449, allocations: 0.8726 MB / 0.5728 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009201/0.4458, allocations: 0.7699 MB / 0.5736 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003376/0.4492, allocations: 2.304 MB / 0.5758 GB, free: 1.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4492, allocations: 3.938 kB / 0.5758 GB, free: 1.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4492, allocations: 0 / 0.5758 GB, free: 1.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.374e-05/0.4493, allocations: 3.938 kB / 0.5758 GB, free: 1.449 MB / 414.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.004765/0.4541, allocations: 2.037 MB / 0.5778 GB, free: 15.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.4541, allocations: 11.98 kB / 0.5778 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003172/0.4544, allocations: 224 kB / 0.578 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.4563, allocations: 335.5 kB / 0.5783 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.459, allocations: 1.123 MB / 0.5794 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.39e-05/0.4591, allocations: 106.6 kB / 0.5795 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004929/0.4596, allocations: 219.9 kB / 0.5798 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/0.4628, allocations: 2.107 MB / 0.5818 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.446e-05/0.4629, allocations: 15.89 kB / 0.5818 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.463, allocations: 59.97 kB / 0.5819 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006481/0.4637, allocations: 182.6 kB / 0.5821 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002888/0.4666, allocations: 1.697 MB / 0.5837 GB, free: 9.145 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.01177/0.4784, allocations: 7.152 MB / 0.5907 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.4807, allocations: 1.25 MB / 0.5919 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.4817, allocations: 0.6137 MB / 0.5925 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.642e-05/0.4818, allocations: 16.98 kB / 0.5925 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.4819, allocations: 47.55 kB / 0.5926 GB, free: 15.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.987e-06/0.4819, allocations: 4 kB / 0.5926 GB, free: 15.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.009853/0.4917, allocations: 4.529 MB / 0.597 GB, free: 11.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.4918, allocations: 90.42 kB / 0.5971 GB, free: 11.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.4931, allocations: 0.958 MB / 0.598 GB, free: 10.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.4932, allocations: 49.7 kB / 0.5981 GB, free: 10.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006403/0.4939, allocations: 0.7348 MB / 0.5988 GB, free: 9.332 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004979/0.4944, allocations: 0.519 MB / 0.5993 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004867/0.4948, allocations: 315.5 kB / 0.5996 GB, free: 8.492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.495, allocations: 301.1 kB / 0.5999 GB, free: 8.195 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.4962, allocations: 0.7106 MB / 0.6006 GB, free: 7.484 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.4978, allocations: 1.151 MB / 0.6017 GB, free: 6.145 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.01033/0.5081, allocations: 4.07 MB / 0.6057 GB, free: 1.902 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/0.5081, allocations: 8 kB / 0.6057 GB, free: 1.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007188/0.5153, allocations: 3.233 MB / 0.6088 GB, free: 14.63 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.5154, allocations: 12 kB / 0.6089 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/0.5154, allocations: 15.94 kB / 0.6089 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003047/0.5184, allocations: 1.184 MB / 0.61 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.5197, allocations: 299.5 kB / 0.6103 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02129/0.541, allocations: 14.52 MB / 0.6245 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.5422, allocations: 75.88 kB / 0.6246 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.5423, allocations: 68 kB / 0.6246 GB, free: 14.01 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.0009243/0.5433, allocations: 0.5011 MB / 0.6251 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/0.5435, allocations: 135.1 kB / 0.6252 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003439/0.547, allocations: 1.8 MB / 0.627 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.547, allocations: 19.98 kB / 0.627 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.547, allocations: 4 kB / 0.627 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.547, allocations: 7.969 kB / 0.627 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006667/0.5537, allocations: 3.3 MB / 0.6303 GB, free: 8.113 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.5537, allocations: 7.938 kB / 0.6303 GB, free: 8.105 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/0.5553, allocations: 323.6 kB / 0.6306 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005254/0.5558, allocations: 191.5 kB / 0.6308 GB, free: 7.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.5559, allocations: 47.98 kB / 0.6308 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005958/0.5619, allocations: 6.236 MB / 0.6369 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5619, allocations: 7.938 kB / 0.6369 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004209/0.5661, allocations: 2.485 MB / 0.6393 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008026/0.5669, allocations: 246.9 kB / 0.6396 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.5671, allocations: 47.94 kB / 0.6396 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007131/0.5678, allocations: 59.94 kB / 0.6397 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.5681, allocations: 113 kB / 0.6398 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-05/0.5682, allocations: 36 kB / 0.6398 GB, free: 13.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001002/0.5692, allocations: 0.6244 MB / 0.6404 GB, free: 13.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5692, allocations: 0 / 0.6404 GB, free: 13.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00189/0.5711, allocations: 488 kB / 0.6409 GB, free: 12.68 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.004698/0.5758, allocations: 3.089 MB / 0.6439 GB, free: 9.496 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004868/0.5806, allocations: 2.645 MB / 0.6465 GB, free: 6.809 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.5806, allocations: 0 / 0.6465 GB, free: 6.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001993/0.5826, allocations: 1.194 MB / 0.6476 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.5842, allocations: 319.8 kB / 0.648 GB, free: 5.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/0.6136, allocations: 17.11 MB / 0.6647 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.6148, allocations: 0.9355 MB / 0.6656 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001146/0.6159, allocations: 403.5 kB / 0.666 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009132/0.6169, allocations: 0.6243 MB / 0.6666 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/0.6169, allocations: 0 / 0.6666 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09794/0.7148, allocations: 40.03 MB / 0.7057 GB, free: 9.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.35, allocations: 6.688 kB / 0.7057 GB, free: 9.91 MB / 0.545 GB " [Timeout remaining time 645] (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: 18.2672147070989] Failed to read output from testmodel.py, exit status != 0: 15.499307783786207 15.516624301 15.064062369 Calling exit ...