Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 252.5 MB, free: 13 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.2113/0.2113, allocations: 38.55 MB / 346.3 MB, free: 2.121 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 75.88 kB / 484.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3385, allocations: 61.29 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01036/0.3488, allocations: 8.302 MB / 0.5411 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.3607, allocations: 5.543 MB / 0.5465 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009226/0.3616, allocations: 38.22 kB / 0.5466 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01379/0.3754, allocations: 5.863 MB / 0.5523 GB, free: 7.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.3781, allocations: 0.854 MB / 0.5531 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.3796, allocations: 0.4972 MB / 0.5536 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004448/0.3841, allocations: 2.627 MB / 0.5562 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.3851, allocations: 469.6 kB / 0.5566 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.3866, allocations: 0.794 MB / 0.5574 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.3885, allocations: 1.121 MB / 0.5585 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002445/0.3888, allocations: 104 kB / 0.5586 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000991/0.3898, allocations: 399.5 kB / 0.559 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007906/0.3906, allocations: 0.67 MB / 0.5596 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009206/0.3915, allocations: 0.692 MB / 0.5603 GB, free: 108 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002499/0.394, allocations: 1.728 MB / 0.562 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.394, allocations: 0 / 0.562 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.394, allocations: 0 / 0.562 GB, free: 14.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.394, allocations: 0 / 0.562 GB, free: 14.37 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003589/0.3976, allocations: 1.559 MB / 0.5635 GB, free: 12.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3976, allocations: 8.031 kB / 0.5635 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.399, allocations: 219.9 kB / 0.5638 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/0.4011, allocations: 0.8775 MB / 0.5646 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.941e-05/0.4012, allocations: 73.98 kB / 0.5647 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004995/0.4017, allocations: 179.9 kB / 0.5649 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.4044, allocations: 1.571 MB / 0.5664 GB, free: 9.738 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/0.4044, allocations: 7.891 kB / 0.5664 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.4046, allocations: 39.98 kB / 0.5664 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006586/0.4052, allocations: 145.9 kB / 0.5666 GB, free: 9.547 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.4075, allocations: 1.257 MB / 0.5678 GB, free: 8.281 MB / 414.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.009997/0.4175, allocations: 6.357 MB / 0.574 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.4192, allocations: 0.8696 MB / 0.5749 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008706/0.4201, allocations: 492.5 kB / 0.5753 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.637e-05/0.4201, allocations: 13 kB / 0.5753 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.4202, allocations: 39.56 kB / 0.5754 GB, free: 132 kB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.976e-06/0.4202, allocations: 4 kB / 0.5754 GB, free: 128 kB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.007332/0.4275, allocations: 3.257 MB / 0.5786 GB, free: 12.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.4276, allocations: 94.03 kB / 0.5786 GB, free: 12.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.4286, allocations: 0.7274 MB / 0.5794 GB, free: 11.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-05/0.4287, allocations: 45.69 kB / 0.5794 GB, free: 11.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005115/0.4292, allocations: 0.5705 MB / 0.58 GB, free: 11.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/0.4296, allocations: 380.8 kB / 0.5803 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003928/0.4299, allocations: 234.8 kB / 0.5805 GB, free: 10.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002701/0.4302, allocations: 418.7 kB / 0.5809 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.4312, allocations: 0.5608 MB / 0.5815 GB, free: 9.773 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.4326, allocations: 0.8892 MB / 0.5824 GB, free: 8.754 MB / 430.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.009115/0.4417, allocations: 3.232 MB / 0.5855 GB, free: 5.398 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.4417, allocations: 0 / 0.5855 GB, free: 5.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006415/0.4481, allocations: 2.698 MB / 0.5882 GB, free: 2.684 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.4482, allocations: 11.94 kB / 0.5882 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/0.4482, allocations: 12 kB / 0.5882 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003275/0.4515, allocations: 1.156 MB / 0.5893 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009615/0.4524, allocations: 207.7 kB / 0.5895 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01987/0.4723, allocations: 12.09 MB / 0.6013 GB, free: 4.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009193/0.4732, allocations: 63.95 kB / 0.6014 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.4733, allocations: 52 kB / 0.6014 GB, free: 4.855 MB / 446.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $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: 43 * 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0007222/0.474, allocations: 397.4 kB / 0.6018 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.4742, allocations: 99.34 kB / 0.6019 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.4767, allocations: 1.261 MB / 0.6031 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.4767, allocations: 12 kB / 0.6031 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4767, allocations: 0 / 0.6031 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.4767, allocations: 7.922 kB / 0.6031 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004756/0.4815, allocations: 2.486 MB / 0.6056 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.4815, allocations: 7.938 kB / 0.6056 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/0.4831, allocations: 271.7 kB / 0.6058 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/0.4833, allocations: 53.62 kB / 0.6059 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.4834, allocations: 48.03 kB / 0.6059 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.4857, allocations: 2.621 MB / 0.6085 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.4857, allocations: 7.938 kB / 0.6085 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003268/0.489, allocations: 1.75 MB / 0.6102 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005797/0.4896, allocations: 183.3 kB / 0.6104 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.4897, allocations: 39.94 kB / 0.6104 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005681/0.4903, allocations: 43.95 kB / 0.6105 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.4905, allocations: 68.81 kB / 0.6105 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/0.4905, allocations: 39.88 kB / 0.6106 GB, free: 11.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007527/0.4913, allocations: 499 kB / 0.611 GB, free: 10.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4913, allocations: 0 / 0.611 GB, free: 10.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001626/0.4929, allocations: 376 kB / 0.6114 GB, free: 10.24 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],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) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,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.0002479/0.4932, allocations: 139.1 kB / 0.6115 GB, free: 10.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004313/0.4975, allocations: 2.038 MB / 0.6135 GB, free: 8.031 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4975, allocations: 0 / 0.6135 GB, free: 8.031 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.4988, allocations: 0.7339 MB / 0.6142 GB, free: 7.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.5002, allocations: 217.2 kB / 0.6144 GB, free: 7.062 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008181/0.5083, allocations: 4.114 MB / 0.6185 GB, free: 2.891 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/0.5098, allocations: 1.306 MB / 0.6197 GB, free: 1.555 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001011/0.5108, allocations: 316 kB / 0.62 GB, free: 1.242 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/0.5111, allocations: 75.38 kB / 0.6201 GB, free: 1.172 MB / 462.1 MB Notification: Performance of SimCode: time 1.283e-06/0.5111, allocations: 0 / 0.6201 GB, free: 1.172 MB / 462.1 MB Notification: Performance of Templates: time 0.0391/0.5502, allocations: 20.71 MB / 0.6403 GB, free: 12.57 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.685112786479294] Failed to read output from testmodel.py, exit status != 0: 0.5595978377386928 0.575437093 0.178013678 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5aa08e17b0>