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.001273/0.001273, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.00115/0.00115, allocations: 165 kB / 24.56 MB, free: 16 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 0.9462/0.9462, allocations: 177.1 MB / 205 MB, free: 5.613 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.2347/0.2347, allocations: 29.41 MB / 290.9 MB, free: 2.496 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.333e-06/1.333e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.949e-05, allocations: 5.266 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.006091/0.00611, allocations: 6.978 MB / 376.6 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0066/0.01271, allocations: 5.344 MB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005193/0.01323, allocations: 39.69 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007416/0.02065, allocations: 5.512 MB / 387.5 MB, free: 9.047 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.02191, allocations: 0.707 MB / 388.2 MB, free: 8.336 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008473/0.02276, allocations: 478.8 kB / 388.7 MB, free: 7.867 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.02494, allocations: 2.342 MB / 391 MB, free: 5.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.02609, allocations: 1.01 MB / 392 MB, free: 4.488 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.02726, allocations: 0.9782 MB / 393 MB, free: 3.508 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00089/0.02815, allocations: 0.6544 MB / 393.7 MB, free: 2.852 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.02834, allocations: 104 kB / 393.8 MB, free: 2.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008125/0.02916, allocations: 439.2 kB / 394.2 MB, free: 2.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.02948, allocations: 0.4909 MB / 394.7 MB, free: 1.828 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.02985, allocations: 399.1 kB / 395.1 MB, free: 1.438 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.03123, allocations: 1.102 MB / 396.2 MB, free: 340 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.03124, allocations: 0 / 396.2 MB, free: 340 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.03124, allocations: 0 / 396.2 MB, free: 340 kB / 362.7 MB Notification: Performance of Transformations before backend: time 4.144e-05/0.03128, allocations: 0 / 396.2 MB, free: 340 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.002277/0.03356, allocations: 1.451 MB / 397.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.03361, allocations: 11.98 kB / 397.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006793/0.03429, allocations: 256 kB / 397.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.03535, allocations: 0.8485 MB / 398.7 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.03539, allocations: 58 kB / 398.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.03553, allocations: 91.92 kB / 398.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008897/0.03642, allocations: 0.7318 MB / 399.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.03645, allocations: 4 kB / 399.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.0365, allocations: 32 kB / 399.7 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.03663, allocations: 73.95 kB / 399.7 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006002/0.03723, allocations: 363.5 kB / 400.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003332/0.04056, allocations: 3.645 MB / 403.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005699/0.04113, allocations: 359.8 kB / 404.1 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.04132, allocations: 152 kB / 404.2 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.04135, allocations: 16.5 kB / 404.3 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.04138, allocations: 38.22 kB / 404.3 MB, free: 7.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.184e-06/0.04139, allocations: 4 kB / 404.3 MB, free: 7.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002405/0.04379, allocations: 1.683 MB / 406 MB, free: 6.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.04385, allocations: 115.4 kB / 406.1 MB, free: 6.027 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/0.04437, allocations: 0.6641 MB / 406.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.04441, allocations: 41.83 kB / 406.8 MB, free: 5.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.04468, allocations: 0.5497 MB / 407.3 MB, free: 4.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.04483, allocations: 241.9 kB / 407.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.04498, allocations: 160.3 kB / 407.7 MB, free: 4.336 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.04516, allocations: 0.5742 MB / 408.3 MB, free: 3.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.04536, allocations: 125.9 kB / 408.4 MB, free: 3.629 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.0457, allocations: 455.1 kB / 408.9 MB, free: 3.051 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00082/0.04652, allocations: 0.755 MB / 409.6 MB, free: 2.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.04652, allocations: 0 / 409.6 MB, free: 2.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00112/0.04764, allocations: 0.8548 MB / 410.5 MB, free: 1.309 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.04766, allocations: 8 kB / 410.5 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.04767, allocations: 8 kB / 410.5 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000691/0.04836, allocations: 327.3 kB / 410.8 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.04867, allocations: 147.7 kB / 411 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004117/0.05278, allocations: 5.15 MB / 416.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.0531, allocations: 27.98 kB / 416.1 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.05315, allocations: 36 kB / 416.2 MB, free: 11.38 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.0002818/0.05343, allocations: 204.3 kB / 416.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.05354, allocations: 107.4 kB / 416.5 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007799/0.05432, allocations: 0.5702 MB / 417.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.05433, allocations: 15.92 kB / 417.1 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.05433, allocations: 3.938 kB / 417.1 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.05434, allocations: 11.98 kB / 417.1 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.05608, allocations: 1.391 MB / 418.5 MB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.05609, allocations: 4 kB / 418.5 MB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.0564, allocations: 119.9 kB / 418.6 MB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003104/0.05672, allocations: 151 kB / 418.7 MB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.05676, allocations: 27.98 kB / 418.8 MB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002712/0.05948, allocations: 6.054 MB / 424.8 MB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.05948, allocations: 4.062 kB / 424.8 MB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009643/0.06044, allocations: 0.8734 MB / 425.7 MB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.06063, allocations: 131.3 kB / 425.8 MB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.06069, allocations: 27.89 kB / 425.9 MB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.06086, allocations: 19.98 kB / 425.9 MB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.06095, allocations: 48.41 kB / 425.9 MB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.06098, allocations: 27.98 kB / 426 MB, free: 1.047 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003547/0.06134, allocations: 403 kB / 426.3 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06134, allocations: 0 / 426.3 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007477/0.06208, allocations: 255.9 kB / 426.6 MB, free: 416 kB / 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.001065/0.06315, allocations: 484.3 kB / 427.1 MB, free: 100 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.06433, allocations: 0.9529 MB / 428 MB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.06433, allocations: 0 / 428 MB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005216/0.06485, allocations: 0.7564 MB / 428.8 MB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.06537, allocations: 168 kB / 428.9 MB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.06832, allocations: 2.052 MB / 431 MB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.06857, allocations: 275.8 kB / 431.3 MB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002867/0.06886, allocations: 146.3 kB / 431.4 MB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.06897, allocations: 64.48 kB / 431.5 MB, free: 11.53 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.06897, allocations: 0 / 431.5 MB, free: 11.53 MB / 410.7 MB Notification: Performance of Templates: time 0.1486/0.2176, allocations: 12.64 MB / 444.1 MB, free: 94.32 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: 3.4881670689210296]