Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.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.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 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.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001313, allocations: 107.5 kB / 16.41 MB, free: 6.449 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.383/1.383, allocations: 222.9 MB / 240.1 MB, free: 4.363 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.001481/0.001481, allocations: 188.5 kB / 290.4 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5364/0.5364, allocations: 91.89 MB / 432.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 78.73 kB / 0.5735 GB, free: 33.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1508, allocations: 71.28 MB / 0.6431 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.02074/0.1716, allocations: 21.84 MB / 0.6644 GB, free: 13.54 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01403/0.1857, allocations: 4.853 MB / 0.6692 GB, free: 8.668 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005404/0.1912, allocations: 44 kB / 0.6692 GB, free: 8.625 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003996/0.1952, allocations: 0.8867 MB / 0.6701 GB, free: 7.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.2057, allocations: 2.037 MB / 0.6721 GB, free: 5.684 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007572/0.2133, allocations: 2.056 MB / 0.6741 GB, free: 3.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01246/0.2257, allocations: 5.712 MB / 0.6797 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003249/0.229, allocations: 1.321 MB / 0.681 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00446/0.2335, allocations: 2.318 MB / 0.6832 GB, free: 10.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004915/0.2384, allocations: 2.936 MB / 0.6861 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001985/0.2404, allocations: 436 kB / 0.6865 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.2433, allocations: 0.5819 MB / 0.6871 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002084/0.2454, allocations: 1.147 MB / 0.6882 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004875/0.2502, allocations: 2.61 MB / 0.6907 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00883/0.2591, allocations: 6.212 MB / 0.6968 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.2591, allocations: 7.984 kB / 0.6968 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2591, allocations: 0 / 0.6968 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001723/0.2593, allocations: 0 / 0.6968 GB, free: 12.25 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03234/0.2917, allocations: 9.15 MB / 0.7058 GB, free: 3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.2917, allocations: 8.031 kB / 0.7058 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02668/0.3184, allocations: 4.009 MB / 0.7097 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007026/0.3255, allocations: 2.651 MB / 0.7123 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001185/0.3267, allocations: 0.965 MB / 0.7132 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/0.3283, allocations: 348 kB / 0.7135 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/0.3423, allocations: 4.719 MB / 0.7181 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.3425, allocations: 11.94 kB / 0.7182 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009411/0.3434, allocations: 140 kB / 0.7183 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.358e-05/0.3435, allocations: 84 kB / 0.7184 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.3545, allocations: 4.248 MB / 0.7225 GB, free: 1.566 MB / 0.5137 GB 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.04139/0.3959, allocations: 18.22 MB / 0.7403 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01363/0.4095, allocations: 4.992 MB / 0.7452 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006602/0.4162, allocations: 2.783 MB / 0.7479 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007342/0.417, allocations: 70.84 kB / 0.748 GB, free: 6.215 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007973/0.425, allocations: 3.171 MB / 0.7511 GB, free: 3.004 MB / 0.545 GB Notification: Performance of pre-optimization done (n=383): time 8.726e-06/0.425, allocations: 0 / 0.7511 GB, free: 3.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=383): time 0.656/1.081, allocations: 68.04 MB / 0.8175 GB, free: 83.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/1.081, allocations: 147.9 kB / 0.8177 GB, free: 83.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004314/1.085, allocations: 3.219 MB / 0.8208 GB, free: 81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009902/1.086, allocations: 92.08 kB / 0.8209 GB, free: 80.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00127/1.088, allocations: 1.973 MB / 0.8228 GB, free: 79.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00147/1.089, allocations: 1.313 MB / 0.8241 GB, free: 78.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/1.09, allocations: 0.6665 MB / 0.8247 GB, free: 77.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.76e-05/1.091, allocations: 301.1 kB / 0.825 GB, free: 77.44 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004932/1.095, allocations: 2.585 MB / 0.8276 GB, free: 74.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004987/1.1, allocations: 3.213 MB / 0.8307 GB, free: 71.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06347/1.164, allocations: 18.78 MB / 0.849 GB, free: 52.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.028e-05/1.164, allocations: 5.203 kB / 0.849 GB, free: 52.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.05287/1.217, allocations: 17.25 MB / 0.8659 GB, free: 35.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.048e-05/1.217, allocations: 64.03 kB / 0.8659 GB, free: 35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.698e-05/1.217, allocations: 16 kB / 0.866 GB, free: 34.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02448/1.242, allocations: 7.157 MB / 0.8729 GB, free: 27.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003192/1.245, allocations: 0.6748 MB / 0.8736 GB, free: 27.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08327/1.328, allocations: 33.28 MB / 0.9061 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006187/1.334, allocations: 0.6133 MB / 0.9067 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009804/1.335, allocations: 156 kB / 0.9069 GB, free: 8.922 MB / 0.5762 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (403): * Single equations (assignments): 400 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002883/1.338, allocations: 0.6661 MB / 0.9075 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001599/1.34, allocations: 466 kB / 0.9079 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0597/1.4, allocations: 16.85 MB / 0.9244 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.756e-05/1.4, allocations: 36 kB / 0.9244 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001109/1.4, allocations: 31.94 kB / 0.9245 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001085/1.4, allocations: 15.94 kB / 0.9245 GB, free: 6.789 MB / 0.5919 GB 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.07061/1.471, allocations: 21.84 MB / 0.9458 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.303e-05/1.471, allocations: 0.75 kB / 0.9458 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002499/1.473, allocations: 387.5 kB / 0.9462 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0275/1.501, allocations: 7.343 MB / 0.9533 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001211/1.502, allocations: 71.92 kB / 0.9534 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09214/1.594, allocations: 31.8 MB / 0.9845 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.594, allocations: 0 / 0.9845 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06838/1.663, allocations: 20.2 MB / 1.004 GB, free: 4.676 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/1.664, allocations: 0.5609 MB / 1.005 GB, free: 4.09 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001575/1.666, allocations: 67.88 kB / 1.005 GB, free: 4.027 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005226/1.671, allocations: 375.6 kB / 1.005 GB, free: 3.66 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003722/1.675, allocations: 0.7844 MB / 1.006 GB, free: 2.875 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000804/1.676, allocations: 91.98 kB / 1.006 GB, free: 2.785 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004098/1.68, allocations: 2.105 MB / 1.008 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.3e-07/1.68, allocations: 3.938 kB / 1.008 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006906/1.687, allocations: 1.801 MB / 1.01 GB, free: 14.87 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009727/1.688, allocations: 208.9 kB / 1.01 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02767/1.715, allocations: 9.141 MB / 1.019 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.715, allocations: 0.9375 kB / 1.019 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.02176/1.737, allocations: 6.139 MB / 1.025 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005121/1.742, allocations: 384.1 kB / 1.025 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01997/1.762, allocations: 7.922 MB / 1.033 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003098/1.766, allocations: 2.443 MB / 1.035 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001891/1.767, allocations: 275.4 kB / 1.036 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of SimCode: time 1.032e-06/1.767, allocations: 3.938 kB / 1.036 GB, free: 4.234 MB / 0.7012 GB Notification: Performance of Templates: time 0.4255/2.193, allocations: 89.08 MB / 1.123 GB, free: 179.4 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)