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.0009839/0.0009839, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001044/0.001044, allocations: 170.3 kB / 24.82 MB, free: 9.266 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 1.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2871/0.2871, allocations: 29.43 MB / 291.2 MB, free: 2.449 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.813e-06/1.813e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.377e-05/3.559e-05, allocations: 5.406 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.007257/0.007293, allocations: 7.322 MB / 377.4 MB, free: 3.387 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006938/0.01423, allocations: 5.238 MB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006982/0.01493, allocations: 39.69 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007924/0.02285, allocations: 5.765 MB / 388.5 MB, free: 8.312 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.02454, allocations: 0.8626 MB / 389.3 MB, free: 7.445 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.02556, allocations: 0.5456 MB / 389.9 MB, free: 6.898 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002808/0.02837, allocations: 2.631 MB / 392.5 MB, free: 4.262 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007313/0.0291, allocations: 0.5555 MB / 393.1 MB, free: 3.695 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.03074, allocations: 1.138 MB / 394.2 MB, free: 2.555 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009748/0.03172, allocations: 0.9467 MB / 395.1 MB, free: 1.605 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.03185, allocations: 96 kB / 395.2 MB, free: 1.512 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005962/0.03245, allocations: 391.3 kB / 395.6 MB, free: 1.129 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004443/0.03289, allocations: 0.6975 MB / 396.3 MB, free: 440 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.0333, allocations: 479 kB / 396.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.03453, allocations: 1.281 MB / 398.1 MB, free: 14.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.03454, allocations: 0 / 398.1 MB, free: 14.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.03454, allocations: 0 / 398.1 MB, free: 14.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.03456, allocations: 0 / 398.1 MB, free: 14.68 MB / 378.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.001758/0.03632, allocations: 1.611 MB / 399.7 MB, free: 13.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.03636, allocations: 11.98 kB / 399.7 MB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008601/0.03722, allocations: 343.7 kB / 400 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009645/0.03818, allocations: 0.7791 MB / 400.8 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.03823, allocations: 73.92 kB / 400.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002592/0.03849, allocations: 171.8 kB / 401 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.0395, allocations: 0.9712 MB / 402 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.03953, allocations: 7.938 kB / 402 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.528e-05/0.03959, allocations: 43.92 kB / 402.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003096/0.0399, allocations: 149.9 kB / 402.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/0.04052, allocations: 437.9 kB / 402.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005005/0.04553, allocations: 5.636 MB / 408.3 MB, free: 3.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007179/0.04625, allocations: 481.2 kB / 408.7 MB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.0465, allocations: 186.3 kB / 408.9 MB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.496e-05/0.04656, allocations: 20.98 kB / 408.9 MB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.04661, allocations: 50.39 kB / 409 MB, free: 3.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 5.47e-06/0.04661, allocations: 0 / 409 MB, free: 3.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.002865/0.04948, allocations: 1.633 MB / 410.6 MB, free: 1.574 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.04952, allocations: 90.11 kB / 410.7 MB, free: 1.465 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.05004, allocations: 0.7136 MB / 411.4 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.0501, allocations: 41.7 kB / 411.5 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.05042, allocations: 0.6356 MB / 412.1 MB, free: 40 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.05066, allocations: 396.7 kB / 412.5 MB, free: 15.65 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.05091, allocations: 248.4 kB / 412.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.05112, allocations: 0.6208 MB / 413.4 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.05134, allocations: 170.5 kB / 413.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.05176, allocations: 0.6101 MB / 414.1 MB, free: 13.82 MB / 394.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.001041/0.0528, allocations: 1.198 MB / 415.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.05281, allocations: 4 kB / 415.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002485/0.05529, allocations: 1.719 MB / 417.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.05532, allocations: 8 kB / 417.1 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.05533, allocations: 8 kB / 417.1 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/0.05708, allocations: 1.005 MB / 418.1 MB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.05751, allocations: 187.7 kB / 418.3 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007646/0.06515, allocations: 7.614 MB / 425.9 MB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/0.06576, allocations: 32 kB / 425.9 MB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-05/0.06583, allocations: 40 kB / 425.9 MB, free: 1.602 MB / 394.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.0004395/0.06627, allocations: 228.2 kB / 426.2 MB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.06646, allocations: 131.3 kB / 426.3 MB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000933/0.0674, allocations: 0.7003 MB / 427 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.0674, allocations: 11.94 kB / 427 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.06741, allocations: 8 kB / 427 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.06742, allocations: 7.969 kB / 427 MB, free: 500 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.06932, allocations: 1.468 MB / 428.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.06933, allocations: 4 kB / 428.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000727/0.07005, allocations: 251.7 kB / 428.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.07016, allocations: 47.56 kB / 428.8 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-05/0.07022, allocations: 35.98 kB / 428.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.07164, allocations: 3.426 MB / 432.2 MB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.07165, allocations: 7.922 kB / 432.3 MB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.07281, allocations: 1.052 MB / 433.3 MB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.07308, allocations: 155.3 kB / 433.5 MB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.477e-05/0.07315, allocations: 31.98 kB / 433.5 MB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.07341, allocations: 27.94 kB / 433.5 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.07351, allocations: 68.81 kB / 433.6 MB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.07355, allocations: 20 kB / 433.6 MB, free: 9.535 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002699/0.07382, allocations: 406.8 kB / 434 MB, free: 9.145 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07382, allocations: 0 / 434 MB, free: 9.145 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00101/0.07483, allocations: 376 kB / 434.4 MB, free: 8.777 MB / 410.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.0001709/0.075, allocations: 143 kB / 434.5 MB, free: 8.629 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001985/0.07699, allocations: 1.552 MB / 436.1 MB, free: 7.039 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.07699, allocations: 0 / 436.1 MB, free: 7.039 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004876/0.07748, allocations: 0.617 MB / 436.7 MB, free: 6.383 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006434/0.07812, allocations: 191.4 kB / 436.9 MB, free: 6.203 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.08271, allocations: 3.118 MB / 440 MB, free: 3.004 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.08308, allocations: 360.2 kB / 440.3 MB, free: 2.625 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004085/0.08348, allocations: 132 kB / 440.5 MB, free: 2.492 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/0.08387, allocations: 262.1 kB / 440.7 MB, free: 2.234 MB / 410.7 MB Notification: Performance of SimCode: time 1.422e-06/0.08387, allocations: 0 / 440.7 MB, free: 2.234 MB / 410.7 MB Notification: Performance of Templates: time 0.1638/0.2477, allocations: 18.95 MB / 459.7 MB, free: 90.89 MB / 410.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.7590699237771332]