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.0008648/0.0008649, allocations: 175.5 kB / 15.42 MB, free: 5.918 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.199/1.199, allocations: 222.9 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007505/0.0007507, allocations: 97.64 kB / 289.8 MB, free: 4.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.2996/0.2996, allocations: 78.42 MB / 418.9 MB, free: 84 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003204, allocations: 8.969 kB / 498.4 MB, free: 35.46 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2951, allocations: 68.74 MB / 0.5539 GB, free: 10.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.006142/0.3013, allocations: 6.948 MB / 0.5607 GB, free: 5.812 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003581/0.3049, allocations: 2.041 MB / 0.5627 GB, free: 4.359 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004858/0.3054, allocations: 10.75 kB / 0.5627 GB, free: 4.359 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006081/0.306, allocations: 193.8 kB / 0.5629 GB, free: 4.277 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.3075, allocations: 0.7139 MB / 0.5635 GB, free: 3.816 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.3086, allocations: 0.5993 MB / 0.5641 GB, free: 3.484 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.31, allocations: 1.549 MB / 0.5656 GB, free: 2.742 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.3104, allocations: 286 kB / 0.5659 GB, free: 2.602 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000787/0.3112, allocations: 0.5842 MB / 0.5665 GB, free: 2.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009348/0.3121, allocations: 0.7791 MB / 0.5673 GB, free: 1.996 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.3123, allocations: 61.75 kB / 0.5673 GB, free: 1.996 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004503/0.3127, allocations: 198.8 kB / 0.5675 GB, free: 1.949 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.313, allocations: 273.7 kB / 0.5678 GB, free: 1.793 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000456/0.3134, allocations: 0.6067 MB / 0.5684 GB, free: 1.402 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.3151, allocations: 1.603 MB / 0.5699 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3151, allocations: 0 / 0.5699 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3151, allocations: 0 / 0.5699 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.3151, allocations: 1.125 kB / 0.5699 GB, free: 0.8125 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.007735/0.3229, allocations: 2.495 MB / 0.5724 GB, free: 15.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3229, allocations: 9.734 kB / 0.5724 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004905/0.3278, allocations: 0.7762 MB / 0.5731 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.3295, allocations: 0.9112 MB / 0.574 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003558/0.3298, allocations: 258 kB / 0.5743 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.3301, allocations: 84.36 kB / 0.5743 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.3326, allocations: 1.101 MB / 0.5754 GB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.3326, allocations: 7.875 kB / 0.5754 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.309e-05/0.3327, allocations: 30.91 kB / 0.5755 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.3327, allocations: 17.88 kB / 0.5755 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.3347, allocations: 0.9964 MB / 0.5764 GB, free: 13.73 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.006282/0.341, allocations: 3.884 MB / 0.5802 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007388/0.3484, allocations: 2.389 MB / 0.5826 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.3497, allocations: 0.6841 MB / 0.5832 GB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.3498, allocations: 19.42 kB / 0.5833 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/0.3514, allocations: 0.8289 MB / 0.5841 GB, free: 8.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 3.136e-06/0.3514, allocations: 0 / 0.5841 GB, free: 8.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.02711/0.3785, allocations: 7.229 MB / 0.5911 GB, free: 4.789 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.3786, allocations: 117.3 kB / 0.5912 GB, free: 4.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.3803, allocations: 1.124 MB / 0.5923 GB, free: 3.547 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.3804, allocations: 45.7 kB / 0.5924 GB, free: 3.496 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.3807, allocations: 0.493 MB / 0.5929 GB, free: 2.996 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/0.3811, allocations: 362.9 kB / 0.5932 GB, free: 2.637 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.3813, allocations: 149.7 kB / 0.5933 GB, free: 2.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.3814, allocations: 305.1 kB / 0.5936 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.3829, allocations: 0.7809 MB / 0.5944 GB, free: 1.402 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.3846, allocations: 0.9499 MB / 0.5953 GB, free: 424 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02237/0.4069, allocations: 5.805 MB / 0.601 GB, free: 10.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.407, allocations: 0 / 0.601 GB, free: 10.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01301/0.42, allocations: 4.453 MB / 0.6053 GB, free: 6.039 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.545e-05/0.4201, allocations: 69.22 kB / 0.6054 GB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.4201, allocations: 3.938 kB / 0.6054 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005667/0.4257, allocations: 1.631 MB / 0.607 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.4273, allocations: 291.5 kB / 0.6073 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/0.4451, allocations: 7.933 MB / 0.615 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.4473, allocations: 202.6 kB / 0.6152 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.4475, allocations: 63.95 kB / 0.6153 GB, free: 11.7 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.0006624/0.4482, allocations: 308.3 kB / 0.6156 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.4484, allocations: 122.5 kB / 0.6157 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/0.4605, allocations: 3.908 MB / 0.6195 GB, free: 7.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.4605, allocations: 8 kB / 0.6195 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.4605, allocations: 8 kB / 0.6195 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.4605, allocations: 7.969 kB / 0.6195 GB, free: 7.297 MB / 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.01402/0.4746, allocations: 5.505 MB / 0.6249 GB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.4746, allocations: 0 / 0.6249 GB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007024/0.4753, allocations: 111.8 kB / 0.625 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005285/0.4806, allocations: 1.587 MB / 0.6266 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/0.4808, allocations: 27.94 kB / 0.6266 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/0.4983, allocations: 8.796 MB / 0.6352 GB, free: 6.871 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4983, allocations: 0 / 0.6352 GB, free: 6.871 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/0.5124, allocations: 4.784 MB / 0.6399 GB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/0.513, allocations: 231.2 kB / 0.6401 GB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.5132, allocations: 16 kB / 0.6401 GB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.5144, allocations: 111.9 kB / 0.6402 GB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005837/0.515, allocations: 188.7 kB / 0.6404 GB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.531e-05/0.515, allocations: 32 kB / 0.6404 GB, free: 1.465 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001104/0.5162, allocations: 0.7553 MB / 0.6411 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5162, allocations: 0 / 0.6411 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001392/0.5176, allocations: 487.5 kB / 0.6416 GB, free: 232 kB / 442.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.0002743/0.5178, allocations: 142.1 kB / 0.6417 GB, free: 80 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006143/0.524, allocations: 2.597 MB / 0.6443 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.524, allocations: 4 kB / 0.6443 GB, free: 13.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003926/0.528, allocations: 1.583 MB / 0.6458 GB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009949/0.529, allocations: 112.6 kB / 0.6459 GB, free: 11.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.5328, allocations: 2.791 MB / 0.6487 GB, free: 8.895 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/0.5334, allocations: 1.132 MB / 0.6498 GB, free: 7.734 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004226/0.5338, allocations: 124.1 kB / 0.6499 GB, free: 7.609 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.5341, allocations: 79.41 kB / 0.65 GB, free: 7.531 MB / 458.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5341, allocations: 0 / 0.65 GB, free: 7.531 MB / 458.7 MB Notification: Performance of Templates: time 0.0323/0.5664, allocations: 21.63 MB / 0.6711 GB, free: 1.914 MB / 474.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)