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.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.001372/0.001372, allocations: 80.8 kB / 21.49 MB, free: 2.988 MB / 18.57 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.001636/0.001636, allocations: 169.2 kB / 24.91 MB, free: 9.207 MB / 18.57 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 0.9853/0.9853, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.2529/0.2529, allocations: 29.42 MB / 291.2 MB, free: 2.457 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 316.8 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.954e-05, allocations: 7.672 kB / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.006249/0.006268, allocations: 7.352 MB / 324.2 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00705/0.01332, allocations: 5.355 MB / 329.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000646/0.01396, allocations: 35.69 kB / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008226/0.02219, allocations: 5.679 MB / 335.2 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.02391, allocations: 0.8704 MB / 336.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.02496, allocations: 0.5455 MB / 336.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002774/0.02773, allocations: 2.611 MB / 339.3 MB, free: 9.488 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007405/0.02847, allocations: 0.5964 MB / 339.9 MB, free: 8.871 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.02978, allocations: 1.13 MB / 341 MB, free: 7.738 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009363/0.03071, allocations: 0.8921 MB / 341.9 MB, free: 6.844 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.03084, allocations: 96 kB / 342 MB, free: 6.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008444/0.03168, allocations: 387.3 kB / 342.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004401/0.03212, allocations: 0.7053 MB / 343.1 MB, free: 5.664 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003894/0.03251, allocations: 478.9 kB / 343.5 MB, free: 5.195 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.03374, allocations: 1.277 MB / 344.8 MB, free: 3.914 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.03375, allocations: 0 / 344.8 MB, free: 3.914 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.03375, allocations: 3.938 kB / 344.8 MB, free: 3.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.03376, allocations: 4 kB / 344.8 MB, free: 3.906 MB / 314.7 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.001732/0.0355, allocations: 1.42 MB / 346.2 MB, free: 2.457 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.03553, allocations: 11.98 kB / 346.3 MB, free: 2.445 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008929/0.03642, allocations: 292.6 kB / 346.5 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009742/0.0374, allocations: 0.7255 MB / 347.3 MB, free: 1.406 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.03744, allocations: 77.86 kB / 347.3 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002777/0.03772, allocations: 175.8 kB / 347.5 MB, free: 1.156 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009447/0.03867, allocations: 0.9307 MB / 348.4 MB, free: 144 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.03869, allocations: 4 kB / 348.4 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.03876, allocations: 39.98 kB / 348.5 MB, free: 100 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003077/0.03906, allocations: 149.9 kB / 348.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005817/0.03964, allocations: 416.8 kB / 349 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004193/0.04384, allocations: 4.43 MB / 353.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/0.04442, allocations: 491.3 kB / 354 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.04463, allocations: 167.5 kB / 354.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.509e-05/0.04468, allocations: 17 kB / 354.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.04471, allocations: 47.5 kB / 354.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 2.875e-06/0.04472, allocations: 0 / 354.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.002443/0.04716, allocations: 1.513 MB / 355.7 MB, free: 8.574 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.04721, allocations: 90.11 kB / 355.8 MB, free: 8.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/0.04759, allocations: 0.5933 MB / 356.4 MB, free: 7.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003559/0.04794, allocations: 41.7 kB / 356.4 MB, free: 7.816 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.04816, allocations: 485.4 kB / 356.9 MB, free: 7.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.04836, allocations: 384.7 kB / 357.3 MB, free: 6.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.04858, allocations: 218.7 kB / 357.5 MB, free: 6.734 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.04871, allocations: 422.5 kB / 357.9 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.04894, allocations: 161.4 kB / 358 MB, free: 6.156 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.04929, allocations: 456.8 kB / 358.5 MB, free: 5.582 MB / 330.7 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.0009499/0.05024, allocations: 1.063 MB / 359.6 MB, free: 4.398 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.05025, allocations: 4 kB / 359.6 MB, free: 4.395 MB / 330.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002233/0.05248, allocations: 1.499 MB / 361.1 MB, free: 2.871 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.0525, allocations: 12 kB / 361.1 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.05252, allocations: 8 kB / 361.1 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/0.05425, allocations: 0.9707 MB / 362 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.05466, allocations: 195.6 kB / 362.2 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006909/0.06157, allocations: 6.195 MB / 368.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005107/0.06208, allocations: 39.95 kB / 368.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/0.06215, allocations: 43.98 kB / 368.5 MB, free: 11.23 MB / 346.7 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: 41 * Number of states: 0 () * 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 initialization (94): * Single equations (assignments): 92 * 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.0003629/0.06251, allocations: 180.4 kB / 368.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.06263, allocations: 87.86 kB / 368.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007279/0.06336, allocations: 0.5967 MB / 369.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.06337, allocations: 8 kB / 369.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.06337, allocations: 4 kB / 369.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.06338, allocations: 3.984 kB / 369.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.06535, allocations: 1.257 MB / 370.6 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.06535, allocations: 7.938 kB / 370.7 MB, free: 9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007112/0.06606, allocations: 251.7 kB / 370.9 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.06618, allocations: 47.44 kB / 370.9 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.657e-05/0.06624, allocations: 43.97 kB / 371 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.0673, allocations: 2.386 MB / 373.4 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.0673, allocations: 0 / 373.4 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009252/0.06823, allocations: 0.9024 MB / 374.3 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.06846, allocations: 135.3 kB / 374.4 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.423e-05/0.06854, allocations: 39.98 kB / 374.5 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.06878, allocations: 20 kB / 374.5 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.06888, allocations: 64.88 kB / 374.5 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.06892, allocations: 19.98 kB / 374.6 MB, free: 4.844 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002144/0.06913, allocations: 272.5 kB / 374.8 MB, free: 4.578 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06913, allocations: 0 / 374.8 MB, free: 4.578 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009883/0.07012, allocations: 380 kB / 375.2 MB, free: 4.207 MB / 346.7 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.000174/0.07029, allocations: 124.2 kB / 375.3 MB, free: 4.078 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.07204, allocations: 1.36 MB / 376.7 MB, free: 2.688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.822e-05/0.07206, allocations: 16.5 kB / 376.7 MB, free: 2.672 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.07249, allocations: 489.5 kB / 377.2 MB, free: 2.168 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006772/0.07316, allocations: 209.1 kB / 377.4 MB, free: 1.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/0.07705, allocations: 2.603 MB / 380 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.07738, allocations: 364 kB / 380.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000407/0.07779, allocations: 128 kB / 380.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/0.07818, allocations: 225.3 kB / 380.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.07818, allocations: 3.938 kB / 380.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Templates: time 0.02454/0.1027, allocations: 18.9 MB / 399.6 MB, free: 11.93 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.3677047439850867]