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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 106.3 kB / 17.74 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 189.3 kB / 18.68 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1779/0.1779, allocations: 38.03 MB / 330.6 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 458.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2842, allocations: 58.05 MB / 0.5048 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.008948/0.2932, allocations: 10.33 MB / 0.5149 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006003/0.2992, allocations: 3.877 MB / 0.5187 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006767/0.2999, allocations: 40.97 kB / 0.5187 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002812/0.3028, allocations: 1.166 MB / 0.5198 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.3052, allocations: 0.9541 MB / 0.5208 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.3069, allocations: 0.6429 MB / 0.5214 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002852/0.3097, allocations: 2.08 MB / 0.5234 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.3112, allocations: 1.189 MB / 0.5246 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.3128, allocations: 0.8714 MB / 0.5254 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.3144, allocations: 0.9959 MB / 0.5264 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.3147, allocations: 139.8 kB / 0.5265 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.316, allocations: 0.5686 MB / 0.5271 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007435/0.3168, allocations: 0.7111 MB / 0.5278 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009427/0.3177, allocations: 0.8097 MB / 0.5286 GB, free: 9.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.3207, allocations: 2.311 MB / 0.5308 GB, free: 8.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3207, allocations: 0 / 0.5308 GB, free: 8.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.3207, allocations: 5.141 kB / 0.5308 GB, free: 8.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.3208, allocations: 0 / 0.5308 GB, free: 8.07 MB / 398.1 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.003376/0.3241, allocations: 1.84 MB / 0.5326 GB, free: 6.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3242, allocations: 12.58 kB / 0.5326 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.3258, allocations: 293.3 kB / 0.5329 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.3278, allocations: 1.085 MB / 0.534 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.748e-05/0.3279, allocations: 95.38 kB / 0.5341 GB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003277/0.3282, allocations: 153.5 kB / 0.5342 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.3308, allocations: 1.697 MB / 0.5359 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/0.3309, allocations: 6.438 kB / 0.5359 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.331, allocations: 51.61 kB / 0.5359 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002865/0.3313, allocations: 107.7 kB / 0.536 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.3336, allocations: 1.423 MB / 0.5374 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007867/0.3415, allocations: 6.057 MB / 0.5433 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.3426, allocations: 0.7022 MB / 0.544 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/0.3433, allocations: 459.2 kB / 0.5445 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.895e-05/0.3433, allocations: 20.88 kB / 0.5445 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3434, allocations: 43.28 kB / 0.5445 GB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 2.925e-06/0.3434, allocations: 3.938 kB / 0.5445 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.008724/0.3521, allocations: 4.366 MB / 0.5488 GB, free: 10.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.3522, allocations: 166.8 kB / 0.549 GB, free: 10.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009366/0.3531, allocations: 0.8374 MB / 0.5498 GB, free: 9.727 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.3532, allocations: 45.73 kB / 0.5498 GB, free: 9.676 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.3536, allocations: 0.6523 MB / 0.5505 GB, free: 9.016 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.3539, allocations: 317.3 kB / 0.5508 GB, free: 8.703 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/0.3542, allocations: 218.9 kB / 0.551 GB, free: 8.484 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3543, allocations: 349.9 kB / 0.5513 GB, free: 8.137 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007548/0.3551, allocations: 489.8 kB / 0.5518 GB, free: 7.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009301/0.356, allocations: 0.7737 MB / 0.5525 GB, free: 6.762 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.3577, allocations: 1.292 MB / 0.5538 GB, free: 5.352 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.3577, allocations: 0 / 0.5538 GB, free: 5.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003715/0.3615, allocations: 1.906 MB / 0.5556 GB, free: 3.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3615, allocations: 14.41 kB / 0.5557 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003261/0.3648, allocations: 1.502 MB / 0.5571 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/0.3668, allocations: 0.5622 MB / 0.5577 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.3682, allocations: 399.4 kB / 0.5581 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01507/0.3833, allocations: 14.21 MB / 0.5719 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.3844, allocations: 64.05 kB / 0.572 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.3846, allocations: 48 kB / 0.572 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001436/0.386, allocations: 0.7991 MB / 0.5728 GB, free: 0.832 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009363/0.387, allocations: 0.7424 MB / 0.5735 GB, free: 15.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001716/0.3887, allocations: 1.253 MB / 0.5748 GB, free: 14.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.925e-06/0.3887, allocations: 11.94 kB / 0.5748 GB, free: 14.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.003671/0.3924, allocations: 1.859 MB / 0.5766 GB, free: 12.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3924, allocations: 8.344 kB / 0.5766 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002877/0.3953, allocations: 1.451 MB / 0.578 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.3973, allocations: 0.5623 MB / 0.5786 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007693/0.398, allocations: 223.6 kB / 0.5788 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.4098, allocations: 11.07 MB / 0.5896 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009653/0.4108, allocations: 55.89 kB / 0.5896 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.4109, allocations: 44 kB / 0.5897 GB, free: 14.58 MB / 462.1 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 (118): * Single equations (assignments): 111 * 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,4,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.0003165/0.4112, allocations: 251.9 kB / 0.5899 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.4115, allocations: 111.3 kB / 0.59 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/0.4142, allocations: 1.405 MB / 0.5914 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.4142, allocations: 11.95 kB / 0.5914 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.4142, allocations: 0 / 0.5914 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004664/0.4147, allocations: 264.4 kB / 0.5917 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.4149, allocations: 23.95 kB / 0.5917 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006001/0.4155, allocations: 51.88 kB / 0.5917 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.4156, allocations: 72.89 kB / 0.5918 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003614/0.4192, allocations: 1.745 MB / 0.5935 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002494/0.4218, allocations: 1.904 MB / 0.5954 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006934/0.4225, allocations: 495.6 kB / 0.5958 GB, free: 8.168 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007764/0.4232, allocations: 0.5698 MB / 0.5964 GB, free: 7.586 MB / 462.1 MB Notification: Performance of Backend: time 3.51e-07/0.4233, allocations: 3.938 kB / 0.5964 GB, free: 7.582 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006131/0.4294, allocations: 3.369 MB / 0.5997 GB, free: 4.078 MB / 462.1 MB Notification: Performance of SimCode: time 0.00466/0.4341, allocations: 3.445 MB / 0.6031 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of Templates: time 0.04037/0.4745, allocations: 26.84 MB / 0.6293 GB, free: 5.848 MB / 494.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe 2>&1)