Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.|turboGen.generator.powerAngle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.|turboGen.generator.powerAngle",fileNamePrefix="PowerSystems_latest_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.001297/0.001297, allocations: 110.5 kB / 17.74 MB, free: 5.332 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.001368/0.001368, allocations: 187 kB / 18.68 MB, free: 4.402 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.29/1.29, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1754/0.1754, allocations: 38.03 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.91 kB / 458.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2785, allocations: 58.05 MB / 0.5048 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.009159/0.2877, allocations: 10.33 MB / 0.5149 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00636/0.2941, allocations: 3.876 MB / 0.5187 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000776/0.2949, allocations: 35.44 kB / 0.5187 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0029/0.2978, allocations: 1.164 MB / 0.5198 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.3004, allocations: 0.9537 MB / 0.5208 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.3021, allocations: 0.6481 MB / 0.5214 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00281/0.3049, allocations: 2.075 MB / 0.5234 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.3064, allocations: 1.196 MB / 0.5246 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.3077, allocations: 0.8717 MB / 0.5254 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.3091, allocations: 0.9932 MB / 0.5264 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.3093, allocations: 139.7 kB / 0.5265 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.3104, allocations: 0.5677 MB / 0.5271 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00075/0.3112, allocations: 0.7147 MB / 0.5278 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009141/0.3121, allocations: 0.8094 MB / 0.5286 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.3148, allocations: 2.311 MB / 0.5308 GB, free: 8.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3148, allocations: 0 / 0.5308 GB, free: 8.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3148, allocations: 0 / 0.5308 GB, free: 8.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.757e-05/0.3148, allocations: 4 kB / 0.5308 GB, free: 8.055 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.003287/0.3181, allocations: 1.84 MB / 0.5326 GB, free: 6.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3182, allocations: 12.89 kB / 0.5327 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.3198, allocations: 288.9 kB / 0.5329 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.3218, allocations: 1.094 MB / 0.534 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.011e-05/0.3219, allocations: 90.41 kB / 0.5341 GB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003285/0.3222, allocations: 152.8 kB / 0.5342 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/0.3248, allocations: 1.694 MB / 0.5359 GB, free: 4.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.123e-05/0.3249, allocations: 7.031 kB / 0.5359 GB, free: 4.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.325, allocations: 50.72 kB / 0.5359 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002915/0.3253, allocations: 104.3 kB / 0.536 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.3277, allocations: 1.426 MB / 0.5374 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008237/0.3359, allocations: 6.056 MB / 0.5433 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.337, allocations: 0.7025 MB / 0.544 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006784/0.3377, allocations: 468.5 kB / 0.5445 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.722e-05/0.3378, allocations: 9.75 kB / 0.5445 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3378, allocations: 47.09 kB / 0.5445 GB, free: 14.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 2.645e-06/0.3378, allocations: 0 / 0.5445 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.009106/0.347, allocations: 4.364 MB / 0.5488 GB, free: 10.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/0.3471, allocations: 162.9 kB / 0.549 GB, free: 10.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.3481, allocations: 0.8452 MB / 0.5498 GB, free: 9.758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.782e-05/0.3482, allocations: 37.7 kB / 0.5498 GB, free: 9.715 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/0.3487, allocations: 0.6562 MB / 0.5505 GB, free: 9.051 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.3489, allocations: 313.3 kB / 0.5508 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/0.3492, allocations: 214.9 kB / 0.551 GB, free: 8.527 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3494, allocations: 357.9 kB / 0.5513 GB, free: 8.172 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008015/0.3502, allocations: 485.8 kB / 0.5518 GB, free: 7.691 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009672/0.3512, allocations: 0.7776 MB / 0.5525 GB, free: 6.797 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.353, allocations: 1.289 MB / 0.5538 GB, free: 5.391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.353, allocations: 8 kB / 0.5538 GB, free: 5.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003843/0.3568, allocations: 1.906 MB / 0.5557 GB, free: 3.457 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.3569, allocations: 12 kB / 0.5557 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003072/0.36, allocations: 1.494 MB / 0.5571 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/0.362, allocations: 0.568 MB / 0.5577 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.3635, allocations: 399.4 kB / 0.5581 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/0.378, allocations: 14.23 MB / 0.572 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009802/0.379, allocations: 55.95 kB / 0.572 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/0.3791, allocations: 51.98 kB / 0.5721 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001275/0.3804, allocations: 0.7953 MB / 0.5728 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00087/0.3813, allocations: 0.7464 MB / 0.5736 GB, free: 0 / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001587/0.3829, allocations: 1.253 MB / 0.5748 GB, free: 14.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.983e-06/0.3829, allocations: 7.938 kB / 0.5748 GB, free: 14.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.00357/0.3864, allocations: 1.848 MB / 0.5766 GB, free: 12.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3865, allocations: 16.06 kB / 0.5766 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002876/0.3894, allocations: 1.451 MB / 0.578 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/0.3913, allocations: 0.5662 MB / 0.5786 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/0.392, allocations: 223.6 kB / 0.5788 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.4034, allocations: 11.07 MB / 0.5896 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009528/0.4044, allocations: 59.91 kB / 0.5897 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.02e-05/0.4045, allocations: 43.98 kB / 0.5897 GB, free: 14.6 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.0003058/0.4048, allocations: 255.9 kB / 0.5899 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.405, allocations: 107.3 kB / 0.59 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.4076, allocations: 1.405 MB / 0.5914 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.4077, allocations: 3.984 kB / 0.5914 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4077, allocations: 0 / 0.5914 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/0.4081, allocations: 264.4 kB / 0.5917 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.4083, allocations: 31.88 kB / 0.5917 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.4089, allocations: 51.89 kB / 0.5918 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.409, allocations: 64.89 kB / 0.5918 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003556/0.4126, allocations: 1.753 MB / 0.5935 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002516/0.4151, allocations: 1.9 MB / 0.5954 GB, free: 8.68 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000693/0.4158, allocations: 499.6 kB / 0.5959 GB, free: 8.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007793/0.4166, allocations: 0.5737 MB / 0.5964 GB, free: 7.605 MB / 462.1 MB Notification: Performance of Backend: time 3.2e-07/0.4166, allocations: 0 / 0.5964 GB, free: 7.605 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006397/0.423, allocations: 3.365 MB / 0.5997 GB, free: 4.109 MB / 462.1 MB Notification: Performance of SimCode: time 0.004596/0.4276, allocations: 3.449 MB / 0.6031 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of Templates: time 0.04077/0.4684, allocations: 26.85 MB / 0.6293 GB, free: 5.879 MB / 494.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe 2>&1)