Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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.001773/0.001773, allocations: 73.41 kB / 21.24 MB, free: 0.5547 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.002407/0.002407, allocations: 158.6 kB / 24.5 MB, free: 3.715 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.577/1.577, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.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.1746/0.1746, allocations: 29.43 MB / 290.7 MB, free: 3.262 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/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: translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") [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.003201/0.003201, allocations: 63.89 kB / 431.2 MB, free: 3.23 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.344, allocations: 62.43 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.00762/0.3517, allocations: 7.668 MB / 0.4895 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006627/0.3583, allocations: 5.054 MB / 0.4945 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/0.3587, allocations: 41.88 kB / 0.4945 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009291/0.368, allocations: 5.769 MB / 0.5001 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.3695, allocations: 0.8609 MB / 0.501 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3706, allocations: 0.5071 MB / 0.5015 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002509/0.3731, allocations: 2.619 MB / 0.504 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005932/0.3737, allocations: 0.5457 MB / 0.5046 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007295/0.3744, allocations: 0.7928 MB / 0.5053 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.3755, allocations: 1.089 MB / 0.5064 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.3756, allocations: 102.2 kB / 0.5065 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006456/0.3763, allocations: 381.4 kB / 0.5069 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004021/0.3767, allocations: 0.6686 MB / 0.5075 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004578/0.3771, allocations: 0.576 MB / 0.5081 GB, free: 24.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.3785, allocations: 1.761 MB / 0.5098 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3785, allocations: 4 kB / 0.5098 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3785, allocations: 0 / 0.5098 GB, free: 23.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.3785, allocations: 0 / 0.5098 GB, free: 23.84 MB / 446.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.003146/0.3816, allocations: 1.55 MB / 0.5113 GB, free: 22.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3817, allocations: 12.86 kB / 0.5113 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.3832, allocations: 281.1 kB / 0.5116 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/0.3852, allocations: 0.8724 MB / 0.5125 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/0.3853, allocations: 71.36 kB / 0.5125 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004636/0.3857, allocations: 186.4 kB / 0.5127 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.388, allocations: 1.559 MB / 0.5142 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.3881, allocations: 5.531 kB / 0.5142 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.631e-05/0.3882, allocations: 40.86 kB / 0.5143 GB, free: 21.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006195/0.3888, allocations: 148.8 kB / 0.5144 GB, free: 21.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.3907, allocations: 1.251 MB / 0.5156 GB, free: 21.14 MB / 446.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.007291/0.398, allocations: 5.495 MB / 0.521 GB, free: 17.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.3994, allocations: 0.8711 MB / 0.5219 GB, free: 17.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007125/0.4001, allocations: 496 kB / 0.5223 GB, free: 17.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.85e-05/0.4002, allocations: 12.62 kB / 0.5223 GB, free: 17.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.4002, allocations: 47.86 kB / 0.5224 GB, free: 16.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=91): time 2.755e-06/0.4002, allocations: 1.438 kB / 0.5224 GB, free: 16.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.006169/0.4064, allocations: 3.248 MB / 0.5256 GB, free: 15.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.4064, allocations: 87.67 kB / 0.5256 GB, free: 15.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000767/0.4072, allocations: 0.7214 MB / 0.5263 GB, free: 15.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.201e-05/0.4072, allocations: 40.61 kB / 0.5264 GB, free: 15.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.4075, allocations: 0.5732 MB / 0.5269 GB, free: 14.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.4078, allocations: 391.3 kB / 0.5273 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003116/0.4081, allocations: 234.4 kB / 0.5275 GB, free: 14.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4082, allocations: 413.5 kB / 0.5279 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008517/0.4091, allocations: 0.5647 MB / 0.5285 GB, free: 13.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009605/0.41, allocations: 0.8889 MB / 0.5294 GB, free: 13.18 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.008496/0.4185, allocations: 3.229 MB / 0.5325 GB, free: 12.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/0.4186, allocations: 3.25 kB / 0.5325 GB, free: 12.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005969/0.4245, allocations: 2.692 MB / 0.5351 GB, free: 11.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.4246, allocations: 9.594 kB / 0.5351 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.4246, allocations: 14.03 kB / 0.5352 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00285/0.4274, allocations: 1.14 MB / 0.5363 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008907/0.4283, allocations: 202.8 kB / 0.5365 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/0.4435, allocations: 11.87 MB / 0.5481 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.4445, allocations: 59.91 kB / 0.5481 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.4446, allocations: 52.06 kB / 0.5482 GB, free: 1.121 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.0006201/0.4453, allocations: 410 kB / 0.5486 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.4454, allocations: 95.39 kB / 0.5486 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.4475, allocations: 1.249 MB / 0.5499 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.4475, allocations: 15.94 kB / 0.5499 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4475, allocations: 3.938 kB / 0.5499 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.5e-05/0.4475, allocations: 7.969 kB / 0.5499 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/0.4522, allocations: 2.244 MB / 0.5521 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4522, allocations: 4 kB / 0.5521 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/0.4537, allocations: 271.6 kB / 0.5523 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000168/0.4538, allocations: 57.67 kB / 0.5524 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.4539, allocations: 44.14 kB / 0.5524 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.4564, allocations: 2.587 MB / 0.555 GB, free: 9.848 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4564, allocations: 4 kB / 0.555 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/0.4594, allocations: 1.736 MB / 0.5567 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005764/0.4599, allocations: 179.3 kB / 0.5568 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.4601, allocations: 43.95 kB / 0.5569 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/0.4606, allocations: 47.95 kB / 0.5569 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.4608, allocations: 68.81 kB / 0.557 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.088e-05/0.4609, allocations: 27.98 kB / 0.557 GB, free: 7.699 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006417/0.4615, allocations: 479 kB / 0.5575 GB, free: 7.234 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4615, allocations: 0 / 0.5575 GB, free: 7.234 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001524/0.463, allocations: 372 kB / 0.5578 GB, free: 6.871 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.0002099/0.4632, allocations: 147 kB / 0.558 GB, free: 6.715 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004248/0.4675, allocations: 2.037 MB / 0.56 GB, free: 4.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.4675, allocations: 3.938 kB / 0.56 GB, free: 4.656 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.4687, allocations: 0.7339 MB / 0.5607 GB, free: 3.895 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.4698, allocations: 204.8 kB / 0.5609 GB, free: 3.699 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006743/0.4765, allocations: 4.071 MB / 0.5649 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009736/0.4775, allocations: 0.7093 MB / 0.5655 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008497/0.4784, allocations: 311.9 kB / 0.5658 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.4786, allocations: 68.5 kB / 0.5659 GB, free: 14.45 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4786, allocations: 0 / 0.5659 GB, free: 14.45 MB / 478.1 MB Notification: Performance of Templates: time 0.03368/0.5123, allocations: 18.1 MB / 0.5836 GB, free: 12.55 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.7079775769962] Failed to read output from testmodel.py, exit status != 0: 0.5234812090639025 0.53685956 0.15524004200000002 Calling exit ...