Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 176 kB / 16.07 MB, free: 5.531 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 239.7 MB, free: 10.19 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007328/0.0007329, allocations: 104.9 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4054/0.4054, allocations: 78.42 MB / 419.6 MB, free: 9.746 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 8.219 kB / 499.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2412, allocations: 68.75 MB / 0.5545 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004926/0.2462, allocations: 6.938 MB / 0.5613 GB, free: 13.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.2488, allocations: 2.036 MB / 0.5633 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000385/0.2492, allocations: 15.94 kB / 0.5633 GB, free: 11.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004901/0.2498, allocations: 182.8 kB / 0.5635 GB, free: 11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.2511, allocations: 0.7366 MB / 0.5642 GB, free: 10.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009182/0.252, allocations: 0.5873 MB / 0.5648 GB, free: 9.688 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008481/0.2529, allocations: 1.546 MB / 0.5663 GB, free: 8.133 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/0.2532, allocations: 293.3 kB / 0.5665 GB, free: 7.836 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004365/0.2536, allocations: 0.5831 MB / 0.5671 GB, free: 7.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005376/0.2542, allocations: 0.7737 MB / 0.5679 GB, free: 6.473 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.2543, allocations: 63.94 kB / 0.5679 GB, free: 6.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.2546, allocations: 191.9 kB / 0.5681 GB, free: 6.223 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.2548, allocations: 270.6 kB / 0.5684 GB, free: 5.957 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.2551, allocations: 0.6094 MB / 0.569 GB, free: 5.344 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007302/0.2559, allocations: 1.276 MB / 0.5702 GB, free: 4.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2559, allocations: 0 / 0.5702 GB, free: 4.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2559, allocations: 4 kB / 0.5702 GB, free: 4.062 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.2559, allocations: 0 / 0.5702 GB, free: 4.062 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.007217/0.2631, allocations: 2.486 MB / 0.5726 GB, free: 1.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2632, allocations: 12.03 kB / 0.5727 GB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004768/0.268, allocations: 0.7748 MB / 0.5734 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.2692, allocations: 0.91 MB / 0.5743 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.2695, allocations: 260.2 kB / 0.5746 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.2697, allocations: 84 kB / 0.5746 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.2717, allocations: 1.094 MB / 0.5757 GB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.2717, allocations: 7.938 kB / 0.5757 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.27e-05/0.2718, allocations: 32 kB / 0.5757 GB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.2718, allocations: 20 kB / 0.5758 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.2737, allocations: 0.9994 MB / 0.5767 GB, free: 13.22 MB / 394.7 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.006047/0.2798, allocations: 3.882 MB / 0.5805 GB, free: 9.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006982/0.2868, allocations: 2.387 MB / 0.5829 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.2881, allocations: 0.6895 MB / 0.5835 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.2882, allocations: 12.98 kB / 0.5835 GB, free: 5.973 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001452/0.2896, allocations: 0.8255 MB / 0.5843 GB, free: 5.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 2.554e-06/0.2896, allocations: 4 kB / 0.5844 GB, free: 5.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.02775/0.3174, allocations: 7.221 MB / 0.5914 GB, free: 13.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.3175, allocations: 119.8 kB / 0.5915 GB, free: 13.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.3191, allocations: 1.131 MB / 0.5926 GB, free: 12.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000174/0.3192, allocations: 45.64 kB / 0.5927 GB, free: 12.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.3196, allocations: 0.493 MB / 0.5931 GB, free: 12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.32, allocations: 366.8 kB / 0.5935 GB, free: 11.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.3201, allocations: 149.6 kB / 0.5936 GB, free: 11.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.967e-05/0.3202, allocations: 301.1 kB / 0.5939 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.3218, allocations: 0.7887 MB / 0.5947 GB, free: 10.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.3234, allocations: 0.9538 MB / 0.5956 GB, free: 9.406 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0233/0.3468, allocations: 5.793 MB / 0.6013 GB, free: 3.527 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.3468, allocations: 0 / 0.6013 GB, free: 3.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01313/0.3599, allocations: 4.45 MB / 0.6056 GB, free: 15.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.263e-05/0.36, allocations: 63.33 kB / 0.6057 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.36, allocations: 8 kB / 0.6057 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005776/0.3658, allocations: 1.635 MB / 0.6073 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.3673, allocations: 291.6 kB / 0.6076 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/0.3856, allocations: 7.94 MB / 0.6153 GB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.3875, allocations: 198.6 kB / 0.6155 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.3876, allocations: 59.97 kB / 0.6156 GB, free: 4.703 MB / 426.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005438/0.3881, allocations: 304.4 kB / 0.6159 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.3883, allocations: 134.3 kB / 0.616 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/0.4006, allocations: 3.9 MB / 0.6198 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.4007, allocations: 12 kB / 0.6198 GB, free: 320 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/0.4007, allocations: 8 kB / 0.6198 GB, free: 312 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.4007, allocations: 3.984 kB / 0.6198 GB, free: 308 kB / 426.7 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 postOpt removeSimpleEquations (simulation): time 0.01441/0.4151, allocations: 5.516 MB / 0.6252 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.4152, allocations: 0 / 0.6252 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/0.4158, allocations: 103.8 kB / 0.6253 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005271/0.421, allocations: 1.594 MB / 0.6269 GB, free: 8.973 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.4211, allocations: 27.98 kB / 0.6269 GB, free: 8.945 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01819/0.4393, allocations: 8.792 MB / 0.6355 GB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4394, allocations: 4 kB / 0.6355 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01409/0.4535, allocations: 4.78 MB / 0.6402 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.4539, allocations: 227.2 kB / 0.6404 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.4541, allocations: 20 kB / 0.6404 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.4552, allocations: 107.9 kB / 0.6405 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005405/0.4558, allocations: 192.6 kB / 0.6407 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-05/0.4559, allocations: 28.09 kB / 0.6407 GB, free: 10.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001056/0.4569, allocations: 0.7669 MB / 0.6414 GB, free: 9.688 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.457, allocations: 0 / 0.6414 GB, free: 9.688 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001222/0.4582, allocations: 483.5 kB / 0.6419 GB, free: 9.215 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002456/0.4584, allocations: 136.2 kB / 0.642 GB, free: 9.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006213/0.4647, allocations: 2.593 MB / 0.6446 GB, free: 6.441 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4647, allocations: 4.062 kB / 0.6446 GB, free: 6.438 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004052/0.4687, allocations: 1.578 MB / 0.6461 GB, free: 4.824 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/0.4696, allocations: 116.5 kB / 0.6462 GB, free: 4.707 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.4736, allocations: 2.822 MB / 0.649 GB, free: 1.852 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.4742, allocations: 1.143 MB / 0.6501 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.4745, allocations: 75.42 kB / 0.6502 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of SimCode: time 4.2e-07/0.4745, allocations: 4 kB / 0.6502 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of Templates: time 0.02659/0.5011, allocations: 23.73 MB / 0.6733 GB, free: 8.867 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)