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.001949/0.001949, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001928/0.001928, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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.564/1.564, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3524/0.3524, allocations: 29.41 MB / 290.5 MB, free: 2.41 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.483e-06/1.483e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.84e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01126/0.01129, allocations: 7.669 MB / 376.6 MB, free: 3.602 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.02162, allocations: 5.324 MB / 381.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008132/0.02244, allocations: 39.69 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01365/0.03609, allocations: 5.823 MB / 387.7 MB, free: 8.383 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.03833, allocations: 0.711 MB / 388.5 MB, free: 7.668 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.03982, allocations: 470.8 kB / 388.9 MB, free: 7.207 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004466/0.04429, allocations: 2.346 MB / 391.3 MB, free: 4.855 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.04583, allocations: 1.006 MB / 392.3 MB, free: 3.828 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.0475, allocations: 0.9074 MB / 393.2 MB, free: 2.922 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.04885, allocations: 0.7129 MB / 393.9 MB, free: 2.207 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.04906, allocations: 120 kB / 394 MB, free: 2.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.05009, allocations: 439.3 kB / 394.4 MB, free: 1.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006537/0.05074, allocations: 0.5299 MB / 395 MB, free: 1.129 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006962/0.05144, allocations: 431 kB / 395.4 MB, free: 0.707 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002831/0.05427, allocations: 1.811 MB / 397.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.05428, allocations: 0 / 397.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.05428, allocations: 0 / 397.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.179e-05/0.05431, allocations: 0 / 397.2 MB, free: 14.89 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003577/0.05789, allocations: 1.619 MB / 398.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.05793, allocations: 11.98 kB / 398.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.05898, allocations: 248 kB / 399.1 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.06113, allocations: 0.9109 MB / 400 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.921e-05/0.06119, allocations: 58 kB / 400 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.06143, allocations: 91.97 kB / 400.1 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.06343, allocations: 0.8879 MB / 401 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/0.06347, allocations: 7.953 kB / 401 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-05/0.06356, allocations: 31.98 kB / 401.1 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002493/0.06381, allocations: 73.95 kB / 401.1 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.06494, allocations: 495.6 kB / 401.6 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007157/0.0721, allocations: 4.165 MB / 405.8 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.07313, allocations: 420.4 kB / 406.2 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.07352, allocations: 189.2 kB / 406.4 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.86e-05/0.07358, allocations: 16.48 kB / 406.4 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.07363, allocations: 45.83 kB / 406.4 MB, free: 5.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.525e-06/0.07363, allocations: 0 / 406.4 MB, free: 5.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.005002/0.07863, allocations: 1.837 MB / 408.3 MB, free: 3.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.07875, allocations: 119.3 kB / 408.4 MB, free: 3.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.08005, allocations: 0.8548 MB / 409.2 MB, free: 2.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/0.08012, allocations: 37.7 kB / 409.3 MB, free: 2.367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006098/0.08073, allocations: 0.5849 MB / 409.9 MB, free: 1.773 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/0.08103, allocations: 277.9 kB / 410.1 MB, free: 1.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003429/0.08138, allocations: 188.3 kB / 410.3 MB, free: 1.309 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005028/0.08188, allocations: 0.6563 MB / 411 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.08226, allocations: 157.9 kB / 411.1 MB, free: 500 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007573/0.08302, allocations: 0.5186 MB / 411.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003831/0.08685, allocations: 1.284 MB / 412.9 MB, free: 14.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.08686, allocations: 4 kB / 412.9 MB, free: 14.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00226/0.08912, allocations: 0.9406 MB / 413.9 MB, free: 13.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.08914, allocations: 8.438 kB / 413.9 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.08915, allocations: 8 kB / 413.9 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.09046, allocations: 335 kB / 414.2 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/0.09104, allocations: 159.7 kB / 414.4 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007974/0.09901, allocations: 5.331 MB / 419.7 MB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006359/0.09965, allocations: 28.05 kB / 419.7 MB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.57e-05/0.09972, allocations: 36 kB / 419.8 MB, free: 7.344 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.0005294/0.1003, allocations: 276.2 kB / 420 MB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.1004, allocations: 103.4 kB / 420.1 MB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.102, allocations: 0.6328 MB / 420.8 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.102, allocations: 8 kB / 420.8 MB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.102, allocations: 7.938 kB / 420.8 MB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.102, allocations: 3.984 kB / 420.8 MB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003783/0.1058, allocations: 1.668 MB / 422.5 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.1058, allocations: 0 / 422.5 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/0.1064, allocations: 115.9 kB / 422.6 MB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006198/0.1071, allocations: 155 kB / 422.7 MB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.15e-05/0.1071, allocations: 23.98 kB / 422.7 MB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005752/0.1129, allocations: 6.144 MB / 428.9 MB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.1129, allocations: 4 kB / 428.9 MB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.115, allocations: 1.01 MB / 429.9 MB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/0.1154, allocations: 131.7 kB / 430 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.1155, allocations: 24.03 kB / 430.1 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.1159, allocations: 23.98 kB / 430.1 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.116, allocations: 44.41 kB / 430.1 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/0.1161, allocations: 20 kB / 430.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007173/0.1168, allocations: 0.495 MB / 430.6 MB, free: 11.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1168, allocations: 0 / 430.6 MB, free: 11.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001115/0.1179, allocations: 263.9 kB / 430.9 MB, free: 11.67 MB / 410.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.002973/0.1209, allocations: 0.5052 MB / 431.4 MB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.1231, allocations: 1.067 MB / 432.5 MB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.1231, allocations: 8.188 kB / 432.5 MB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.1243, allocations: 0.7941 MB / 433.3 MB, free: 9.402 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.1253, allocations: 171.4 kB / 433.4 MB, free: 9.238 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/0.1294, allocations: 2.096 MB / 435.5 MB, free: 7.074 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007136/0.1301, allocations: 0.5285 MB / 436.1 MB, free: 6.516 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004813/0.1306, allocations: 146.3 kB / 436.2 MB, free: 6.367 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.1308, allocations: 64.48 kB / 436.3 MB, free: 6.305 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1308, allocations: 0 / 436.3 MB, free: 6.305 MB / 410.7 MB Notification: Performance of Templates: time 0.1638/0.2946, allocations: 12.16 MB / 448.4 MB, free: 105.9 MB / 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: 5.613575433031656]