Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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.0009538/0.0009538, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.0009717/0.0009717, allocations: 173.8 kB / 25.61 MB, free: 8.582 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.9073/0.9073, allocations: 177.1 MB / 206 MB, free: 4.516 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.1164/0.1164, allocations: 29.42 MB / 292 MB, free: 2.641 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.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.345e-06/9.317e-06, allocations: 2.312 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.004988/0.004997, allocations: 8.382 MB / 379.3 MB, free: 23.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.007983, allocations: 3.805 MB / 383.1 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.008279, allocations: 47.62 kB / 383.1 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006687/0.008947, allocations: 393.4 kB / 383.5 MB, free: 19.65 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009185/0.009866, allocations: 0.9634 MB / 384.5 MB, free: 18.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.01053, allocations: 0.7013 MB / 385.2 MB, free: 17.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.01163, allocations: 2.116 MB / 387.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006177/0.01225, allocations: 0.9208 MB / 388.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007573/0.013, allocations: 1.282 MB / 389.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007242/0.01373, allocations: 0.9389 MB / 390.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.01383, allocations: 136 kB / 390.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.01427, allocations: 0.5069 MB / 391.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.01457, allocations: 0.7482 MB / 391.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.01489, allocations: 0.5535 MB / 392.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008397/0.01573, allocations: 1.479 MB / 393.8 MB, free: 9.254 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.01573, allocations: 0 / 393.8 MB, free: 9.254 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.01573, allocations: 0 / 393.8 MB, free: 9.254 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.01575, allocations: 0 / 393.8 MB, free: 9.254 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.001448/0.01719, allocations: 1.797 MB / 395.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.01722, allocations: 12.03 kB / 395.7 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008945/0.01812, allocations: 407.7 kB / 396 MB, free: 7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007601/0.01888, allocations: 0.8964 MB / 396.9 MB, free: 6.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.01891, allocations: 90.72 kB / 397 MB, free: 5.988 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.01909, allocations: 148.6 kB / 397.2 MB, free: 5.844 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000822/0.01991, allocations: 1.056 MB / 398.2 MB, free: 4.688 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.01995, allocations: 11.92 kB / 398.2 MB, free: 4.676 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.597e-05/0.02001, allocations: 48 kB / 398.3 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/0.02016, allocations: 106.4 kB / 398.4 MB, free: 4.523 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/0.02068, allocations: 474 kB / 398.9 MB, free: 4.043 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003449/0.02413, allocations: 4.919 MB / 403.8 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.0246, allocations: 386.1 kB / 404.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.0248, allocations: 181.5 kB / 404.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.02483, allocations: 12.66 kB / 404.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.02486, allocations: 46.05 kB / 404.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 2.204e-06/0.02486, allocations: 4 kB / 404.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.003039/0.0279, allocations: 1.861 MB / 406.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.02796, allocations: 178.8 kB / 406.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/0.02841, allocations: 0.7019 MB / 407.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.707e-05/0.02846, allocations: 41.7 kB / 407.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.02878, allocations: 0.7251 MB / 407.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.02896, allocations: 317.3 kB / 408.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.02918, allocations: 212.4 kB / 408.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.02937, allocations: 0.6014 MB / 409 MB, free: 9.449 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.02955, allocations: 140.8 kB / 409.2 MB, free: 9.309 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.02995, allocations: 0.5879 MB / 409.7 MB, free: 8.547 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006418/0.03059, allocations: 0.7303 MB / 410.5 MB, free: 7.656 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.0306, allocations: 7.922 kB / 410.5 MB, free: 7.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00145/0.03205, allocations: 1.076 MB / 411.6 MB, free: 6.547 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.03206, allocations: 8 kB / 411.6 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001176/0.03324, allocations: 0.7112 MB / 412.3 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.03434, allocations: 485.8 kB / 412.7 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.03494, allocations: 303.6 kB / 413 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006993/0.04193, allocations: 13.83 MB / 426.9 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.04224, allocations: 51.88 kB / 426.9 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.04228, allocations: 32 kB / 427 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002986/0.04258, allocations: 273.4 kB / 427.2 MB, free: 6.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003555/0.04294, allocations: 0.5879 MB / 427.8 MB, free: 5.273 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000564/0.0435, allocations: 0.7343 MB / 428.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/0.04351, allocations: 4 kB / 428.6 MB, free: 4.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.001666/0.04517, allocations: 1.065 MB / 429.6 MB, free: 3.289 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.04518, allocations: 12 kB / 429.6 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001022/0.04621, allocations: 0.6998 MB / 430.3 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.04729, allocations: 481.8 kB / 430.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.04764, allocations: 195.7 kB / 431 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005295/0.05294, allocations: 10.2 MB / 441.2 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.05323, allocations: 40.02 kB / 441.2 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.05327, allocations: 32 kB / 441.3 MB, free: 7.047 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.05344, allocations: 331.9 kB / 441.6 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.05357, allocations: 119.4 kB / 441.7 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009465/0.05452, allocations: 0.7708 MB / 442.5 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.05453, allocations: 12 kB / 442.5 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.05453, allocations: 4 kB / 442.5 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.05454, allocations: 3.984 kB / 442.5 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.05672, allocations: 1.782 MB / 444.3 MB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.05673, allocations: 7.938 kB / 444.3 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.05701, allocations: 124.2 kB / 444.4 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005475/0.05755, allocations: 286 kB / 444.7 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.0576, allocations: 31.98 kB / 444.7 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00416/0.06176, allocations: 9.941 MB / 454.7 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.06176, allocations: 8.047 kB / 454.7 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.06288, allocations: 1.121 MB / 455.8 MB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.06307, allocations: 151.3 kB / 455.9 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.936e-05/0.06315, allocations: 31.92 kB / 456 MB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.06339, allocations: 23.98 kB / 456 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.06347, allocations: 76.47 kB / 456.1 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.0635, allocations: 19.98 kB / 456.1 MB, free: 7.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002414/0.06374, allocations: 422.7 kB / 456.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06374, allocations: 0 / 456.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001151/0.06489, allocations: 0.6015 MB / 457.1 MB, free: 6.402 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.rotor.phi,turboGen.rotor.w,RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (66): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,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.0001269/0.06502, allocations: 129.9 kB / 457.2 MB, free: 6.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.06754, allocations: 3.014 MB / 460.2 MB, free: 3.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.06754, allocations: 0 / 460.2 MB, free: 3.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007704/0.06831, allocations: 1.207 MB / 461.4 MB, free: 1.766 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.06892, allocations: 214.4 kB / 461.7 MB, free: 1.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.07181, allocations: 2.595 MB / 464.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.07208, allocations: 381.4 kB / 464.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003234/0.07241, allocations: 143.8 kB / 464.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.07275, allocations: 270.1 kB / 465 MB, free: 14.07 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.07275, allocations: 0 / 465 MB, free: 14.07 MB / 394.7 MB Notification: Performance of Templates: time 0.02408/0.09683, allocations: 22.72 MB / 487.7 MB, free: 7.594 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.547805722337216]