Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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.001028/0.001028, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001122/0.001122, allocations: 168.3 kB / 24.81 MB, free: 9.27 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.9794/0.9794, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.2774/0.2774, allocations: 29.42 MB / 291.2 MB, free: 2.469 MB / 266.7 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.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.722e-05, allocations: 2.312 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.00671/0.006737, allocations: 6.892 MB / 377 MB, free: 3.809 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006768/0.01351, allocations: 5.266 MB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006438/0.01415, allocations: 35.69 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008094/0.02224, allocations: 5.535 MB / 387.8 MB, free: 8.941 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.02396, allocations: 0.7071 MB / 388.5 MB, free: 8.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009684/0.02492, allocations: 474.8 kB / 389 MB, free: 7.766 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002481/0.02741, allocations: 2.357 MB / 391.4 MB, free: 5.402 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.02856, allocations: 1.006 MB / 392.4 MB, free: 4.375 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.03, allocations: 0.9743 MB / 393.3 MB, free: 3.398 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009845/0.03098, allocations: 0.6544 MB / 394 MB, free: 2.742 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.03117, allocations: 111.9 kB / 394.1 MB, free: 2.633 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.03219, allocations: 423.3 kB / 394.5 MB, free: 2.219 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005061/0.0327, allocations: 0.5026 MB / 395 MB, free: 1.715 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006104/0.03331, allocations: 403 kB / 395.4 MB, free: 1.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.03498, allocations: 1.094 MB / 396.5 MB, free: 228 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.03499, allocations: 3.938 kB / 396.5 MB, free: 224 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.03499, allocations: 0 / 396.5 MB, free: 224 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.465e-05/0.03502, allocations: 0 / 396.5 MB, free: 224 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002233/0.03726, allocations: 1.451 MB / 398 MB, free: 14.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.03731, allocations: 11.98 kB / 398 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000627/0.03794, allocations: 240 kB / 398.2 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.03898, allocations: 0.8213 MB / 399 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.03902, allocations: 58 kB / 399.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.03915, allocations: 87.94 kB / 399.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007684/0.03992, allocations: 0.673 MB / 399.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.03995, allocations: 11.92 kB / 399.9 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/0.04, allocations: 36 kB / 399.9 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.04013, allocations: 69.95 kB / 400 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.04056, allocations: 301.6 kB / 400.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003551/0.04411, allocations: 3.602 MB / 403.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.04458, allocations: 327.9 kB / 404.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.04473, allocations: 136 kB / 404.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.04477, allocations: 20.47 kB / 404.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.0448, allocations: 37.89 kB / 404.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.625e-06/0.0448, allocations: 4 kB / 404.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002023/0.04682, allocations: 1.323 MB / 405.7 MB, free: 6.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.04688, allocations: 115.4 kB / 405.8 MB, free: 6.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.04736, allocations: 0.656 MB / 406.5 MB, free: 5.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.0474, allocations: 41.7 kB / 406.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/0.04769, allocations: 0.5496 MB / 407.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.04785, allocations: 245.9 kB / 407.3 MB, free: 4.992 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.048, allocations: 164.2 kB / 407.5 MB, free: 4.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.04824, allocations: 0.5819 MB / 408 MB, free: 4.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.04837, allocations: 89.92 kB / 408.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.04865, allocations: 435 kB / 408.5 MB, free: 3.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007173/0.04936, allocations: 0.6807 MB / 409.2 MB, free: 2.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.04937, allocations: 0 / 409.2 MB, free: 2.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0009878/0.05036, allocations: 0.7883 MB / 410 MB, free: 1.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.05038, allocations: 4 kB / 410 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.05039, allocations: 8 kB / 410 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006452/0.05103, allocations: 323.5 kB / 410.3 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/0.05147, allocations: 151.8 kB / 410.5 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003883/0.05535, allocations: 4.993 MB / 415.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.05563, allocations: 27.94 kB / 415.5 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.05567, allocations: 28 kB / 415.5 MB, free: 12.23 MB / 394.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.windGen.WT.turbine.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (75): * Single equations (assignments): 73 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.05591, allocations: 204.3 kB / 415.7 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.05602, allocations: 103.4 kB / 415.8 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006762/0.0567, allocations: 0.5271 MB / 416.4 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.0567, allocations: 8 kB / 416.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.05671, allocations: 8 kB / 416.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.05671, allocations: 3.984 kB / 416.4 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.05818, allocations: 1.215 MB / 417.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.05818, allocations: 3.984 kB / 417.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.05848, allocations: 107.9 kB / 417.7 MB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002953/0.05878, allocations: 139 kB / 417.8 MB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.898e-05/0.05883, allocations: 23.98 kB / 417.9 MB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00296/0.06179, allocations: 5.986 MB / 423.9 MB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.06179, allocations: 0 / 423.9 MB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008347/0.06262, allocations: 0.8224 MB / 424.7 MB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.06279, allocations: 119.4 kB / 424.8 MB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.06285, allocations: 20 kB / 424.8 MB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.06301, allocations: 12 kB / 424.8 MB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.06309, allocations: 56.38 kB / 424.9 MB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.06312, allocations: 19.98 kB / 424.9 MB, free: 2.348 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002665/0.06339, allocations: 378.9 kB / 425.3 MB, free: 1.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06339, allocations: 0 / 425.3 MB, free: 1.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007774/0.06416, allocations: 267.9 kB / 425.5 MB, free: 1.719 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009749/0.06514, allocations: 471.4 kB / 426 MB, free: 1.414 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.06616, allocations: 0.902 MB / 426.9 MB, free: 492 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.06617, allocations: 0 / 426.9 MB, free: 492 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.06671, allocations: 0.7408 MB / 427.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.06725, allocations: 167.9 kB / 427.8 MB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.07061, allocations: 2.046 MB / 429.8 MB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.07087, allocations: 283.8 kB / 430.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002741/0.07114, allocations: 102.4 kB / 430.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.07142, allocations: 218.1 kB / 430.4 MB, free: 12.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.011e-06/0.07142, allocations: 0 / 430.4 MB, free: 12.8 MB / 410.7 MB Notification: Performance of Templates: time 0.0186/0.09002, allocations: 12.94 MB / 443.4 MB, free: 28 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5464071221649647]