Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1") translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 115.3 kB / 16.42 MB, free: 6.496 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.406/1.406, allocations: 222.9 MB / 240.1 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 184.5 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4493/0.4493, allocations: 78.54 MB / 419.1 MB, free: 3.109 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 79.88 kB / 0.5543 GB, free: 1.035 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2958, allocations: 68.17 MB / 0.6209 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.004902/0.3008, allocations: 5.241 MB / 0.626 GB, free: 5.016 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.3036, allocations: 1.755 MB / 0.6277 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000664/0.3043, allocations: 4 kB / 0.6277 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004926/0.3048, allocations: 166.6 kB / 0.6278 GB, free: 3.09 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001653/0.3065, allocations: 0.6947 MB / 0.6285 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009104/0.3074, allocations: 0.4901 MB / 0.629 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.3086, allocations: 1.199 MB / 0.6302 GB, free: 0.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.3089, allocations: 250.4 kB / 0.6304 GB, free: 460 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005732/0.3095, allocations: 486.2 kB / 0.6309 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006905/0.3102, allocations: 0.6067 MB / 0.6315 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.3103, allocations: 112 kB / 0.6316 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004344/0.3108, allocations: 247.9 kB / 0.6318 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.311, allocations: 251.1 kB / 0.6321 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004444/0.3115, allocations: 0.5129 MB / 0.6326 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.3129, allocations: 1.418 MB / 0.6339 GB, free: 12.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3129, allocations: 4 kB / 0.6339 GB, free: 12.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3129, allocations: 0 / 0.6339 GB, free: 12.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3129, allocations: 0 / 0.6339 GB, free: 12.83 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005569/0.3185, allocations: 1.88 MB / 0.6358 GB, free: 10.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3185, allocations: 8.031 kB / 0.6358 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/0.322, allocations: 0.5349 MB / 0.6363 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.323, allocations: 0.6904 MB / 0.637 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.3232, allocations: 150.4 kB / 0.6371 GB, free: 9.449 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.3233, allocations: 60 kB / 0.6372 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.3248, allocations: 0.7798 MB / 0.6379 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3249, allocations: 0 / 0.6379 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.805e-05/0.3249, allocations: 20 kB / 0.638 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.325, allocations: 12 kB / 0.638 GB, free: 8.562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.3264, allocations: 0.6961 MB / 0.6387 GB, free: 7.863 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004908/0.3313, allocations: 2.894 MB / 0.6415 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/0.344, allocations: 2.928 MB / 0.6443 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000976/0.345, allocations: 494.3 kB / 0.6448 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.893e-05/0.3451, allocations: 8.562 kB / 0.6448 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.3452, allocations: 39.12 kB / 0.6449 GB, free: 1.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.314e-06/0.3452, allocations: 0 / 0.6449 GB, free: 1.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=64): time 0.01143/0.3566, allocations: 3.294 MB / 0.6481 GB, free: 13.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.3567, allocations: 93.67 kB / 0.6482 GB, free: 13.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3578, allocations: 0.7821 MB / 0.6489 GB, free: 13.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.896e-05/0.3579, allocations: 41.7 kB / 0.649 GB, free: 13.01 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.3581, allocations: 377.1 kB / 0.6493 GB, free: 12.63 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.3584, allocations: 253.8 kB / 0.6496 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.3587, allocations: 190.5 kB / 0.6498 GB, free: 12.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3589, allocations: 345.9 kB / 0.6501 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.36, allocations: 0.5436 MB / 0.6506 GB, free: 11.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.3612, allocations: 0.6664 MB / 0.6513 GB, free: 10.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01864/0.3799, allocations: 4.025 MB / 0.6552 GB, free: 6.559 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.3799, allocations: 0 / 0.6552 GB, free: 6.559 MB / 462.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007671/0.3876, allocations: 2.509 MB / 0.6576 GB, free: 4.031 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3876, allocations: 8 kB / 0.6577 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.3876, allocations: 0 / 0.6577 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004365/0.392, allocations: 1.05 MB / 0.6587 GB, free: 2.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009073/0.3929, allocations: 171.8 kB / 0.6588 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/0.4039, allocations: 5.091 MB / 0.6638 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.4051, allocations: 119.4 kB / 0.6639 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.036e-05/0.4052, allocations: 35.98 kB / 0.664 GB, free: 13.4 MB / 478.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001407/0.4066, allocations: 0.6932 MB / 0.6646 GB, free: 12.71 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001158/0.4078, allocations: 0.6469 MB / 0.6653 GB, free: 12.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01864/0.4264, allocations: 3.994 MB / 0.6692 GB, free: 8.012 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.787e-06/0.4265, allocations: 0 / 0.6692 GB, free: 8.012 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.00752/0.434, allocations: 2.486 MB / 0.6716 GB, free: 5.508 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.434, allocations: 6.188 kB / 0.6716 GB, free: 5.504 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4341, allocations: 8 kB / 0.6716 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004209/0.4383, allocations: 1.047 MB / 0.6726 GB, free: 4.441 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008383/0.4391, allocations: 167.7 kB / 0.6728 GB, free: 4.277 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.45, allocations: 5.071 MB / 0.6777 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.4511, allocations: 115.4 kB / 0.6779 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.4512, allocations: 32 kB / 0.6779 GB, free: 14.91 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003113/0.4515, allocations: 242.1 kB / 0.6781 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.4517, allocations: 91.39 kB / 0.6782 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006344/0.4581, allocations: 2.039 MB / 0.6802 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.4581, allocations: 3.984 kB / 0.6802 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4581, allocations: 0 / 0.6802 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.4584, allocations: 196.2 kB / 0.6804 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.4585, allocations: 12 kB / 0.6804 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008216/0.4594, allocations: 59.94 kB / 0.6805 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004646/0.4598, allocations: 184.3 kB / 0.6806 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004847/0.4647, allocations: 1.493 MB / 0.6821 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003068/0.4678, allocations: 1.608 MB / 0.6837 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008861/0.4687, allocations: 408.3 kB / 0.684 GB, free: 8.523 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006588/0.4693, allocations: 0.5342 MB / 0.6846 GB, free: 7.996 MB / 494.1 MB Notification: Performance of Backend: time 2.805e-06/0.4693, allocations: 0 / 0.6846 GB, free: 7.996 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007878/0.4772, allocations: 2.994 MB / 0.6875 GB, free: 4.883 MB / 494.1 MB Notification: Performance of SimCode: time 0.002558/0.4798, allocations: 2.214 MB / 0.6897 GB, free: 2.613 MB / 494.1 MB Notification: Performance of Templates: time 0.03617/0.516, allocations: 23.87 MB / 0.713 GB, free: 10.77 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)