Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008354/0.0008355, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.389/1.389, allocations: 223.3 MB / 239.4 MB, free: 5.535 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.001018/0.001018, allocations: 184.4 kB / 290.6 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5354/0.5354, allocations: 91.92 MB / 433.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004102, allocations: 12 kB / 0.5048 GB, free: 7.324 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5066, allocations: 72.46 MB / 0.5755 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007396/0.514, allocations: 6.506 MB / 0.5819 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00493/0.519, allocations: 2.021 MB / 0.5838 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.5204, allocations: 14.88 kB / 0.5839 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.5215, allocations: 186.3 kB / 0.584 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.5245, allocations: 0.7242 MB / 0.5847 GB, free: 30.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.5262, allocations: 0.5933 MB / 0.5853 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001935/0.5282, allocations: 1.552 MB / 0.5868 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005486/0.5287, allocations: 291.6 kB / 0.5871 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00087/0.5296, allocations: 0.5894 MB / 0.5877 GB, free: 28.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009376/0.5306, allocations: 0.7717 MB / 0.5884 GB, free: 28.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.5307, allocations: 63 kB / 0.5885 GB, free: 28.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.5313, allocations: 189.1 kB / 0.5887 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.5316, allocations: 279.6 kB / 0.589 GB, free: 28.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005777/0.5322, allocations: 0.6355 MB / 0.5896 GB, free: 27.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.5339, allocations: 1.596 MB / 0.5911 GB, free: 27.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5339, allocations: 1.188 kB / 0.5911 GB, free: 27.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5339, allocations: 0 / 0.5911 GB, free: 27.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.534, allocations: 0 / 0.5911 GB, free: 27.35 MB / 430.1 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.01196/0.5459, allocations: 2.561 MB / 0.5936 GB, free: 26.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.546, allocations: 14.72 kB / 0.5937 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008188/0.5542, allocations: 0.7786 MB / 0.5944 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.5565, allocations: 0.914 MB / 0.5953 GB, free: 25.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/0.5569, allocations: 270.3 kB / 0.5956 GB, free: 25.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002427/0.5572, allocations: 84.44 kB / 0.5956 GB, free: 25.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003239/0.5604, allocations: 1.159 MB / 0.5968 GB, free: 24.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.5605, allocations: 7.875 kB / 0.5968 GB, free: 24.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.993e-05/0.5606, allocations: 30.53 kB / 0.5968 GB, free: 24.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.5606, allocations: 18.94 kB / 0.5968 GB, free: 24.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.5628, allocations: 1.057 MB / 0.5979 GB, free: 24.39 MB / 430.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.006935/0.5697, allocations: 3.97 MB / 0.6017 GB, free: 22.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008605/0.5783, allocations: 2.93 MB / 0.6046 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.5799, allocations: 0.748 MB / 0.6053 GB, free: 20.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-05/0.58, allocations: 20.03 kB / 0.6053 GB, free: 20.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/0.5818, allocations: 0.8909 MB / 0.6062 GB, free: 20.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.915e-06/0.5818, allocations: 0 / 0.6062 GB, free: 20.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03315/0.6149, allocations: 8.835 MB / 0.6148 GB, free: 19.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.615, allocations: 119 kB / 0.615 GB, free: 18.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.6171, allocations: 1.131 MB / 0.6161 GB, free: 18.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002099/0.6173, allocations: 45.52 kB / 0.6161 GB, free: 18.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.6176, allocations: 0.4926 MB / 0.6166 GB, free: 17.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/0.618, allocations: 358.8 kB / 0.6169 GB, free: 17.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.6182, allocations: 149.2 kB / 0.6171 GB, free: 17.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.223e-05/0.6183, allocations: 302.3 kB / 0.6174 GB, free: 17.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.62, allocations: 0.8456 MB / 0.6182 GB, free: 16.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.6218, allocations: 1.013 MB / 0.6192 GB, free: 16.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02369/0.6455, allocations: 6.236 MB / 0.6253 GB, free: 10.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.6455, allocations: 3.938 kB / 0.6253 GB, free: 10.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01367/0.6592, allocations: 5.282 MB / 0.6304 GB, free: 4.918 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.044e-05/0.6593, allocations: 71.33 kB / 0.6305 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.6593, allocations: 4 kB / 0.6305 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005816/0.6651, allocations: 1.916 MB / 0.6324 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.6666, allocations: 291.5 kB / 0.6327 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01974/0.6864, allocations: 8.933 MB / 0.6414 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/0.6891, allocations: 234.7 kB / 0.6416 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.6892, allocations: 59.97 kB / 0.6417 GB, free: 9.25 MB / 446.1 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.0007962/0.69, allocations: 304.4 kB / 0.6419 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.6902, allocations: 130.4 kB / 0.6421 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/0.7042, allocations: 4.76 MB / 0.6467 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.7043, allocations: 8 kB / 0.6467 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.7043, allocations: 15.94 kB / 0.6467 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-05/0.7043, allocations: 3.984 kB / 0.6467 GB, free: 3.984 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 postOpt removeSimpleEquations (simulation): time 0.01645/0.7208, allocations: 6.356 MB / 0.653 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.7208, allocations: 0 / 0.653 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.7216, allocations: 111.9 kB / 0.6531 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005967/0.7275, allocations: 1.869 MB / 0.6549 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002014/0.7278, allocations: 23.98 kB / 0.6549 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03159/0.7594, allocations: 9.704 MB / 0.6644 GB, free: 1.527 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.7594, allocations: 4 kB / 0.6644 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03025/0.7897, allocations: 5.686 MB / 0.6699 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.791, allocations: 239.2 kB / 0.6702 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/0.7913, allocations: 20.06 kB / 0.6702 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/0.7936, allocations: 147.9 kB / 0.6703 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/0.7947, allocations: 192.7 kB / 0.6705 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.7948, allocations: 24 kB / 0.6705 GB, free: 11.17 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002134/0.797, allocations: 0.7592 MB / 0.6713 GB, free: 10.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.797, allocations: 0 / 0.6713 GB, free: 10.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00269/0.7997, allocations: 483.5 kB / 0.6717 GB, free: 9.93 MB / 478.1 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.0004647/0.8002, allocations: 144 kB / 0.6719 GB, free: 9.777 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01382/0.814, allocations: 2.867 MB / 0.6747 GB, free: 6.871 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.8141, allocations: 4.125 kB / 0.6747 GB, free: 6.867 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009146/0.8232, allocations: 1.808 MB / 0.6764 GB, free: 5.023 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.8258, allocations: 117.9 kB / 0.6766 GB, free: 4.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008757/0.8345, allocations: 2.903 MB / 0.6794 GB, free: 1.988 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.8359, allocations: 1.124 MB / 0.6805 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001172/0.8371, allocations: 124.1 kB / 0.6806 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006005/0.8377, allocations: 79.41 kB / 0.6807 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of SimCode: time 1.513e-06/0.8377, allocations: 0 / 0.6807 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of Templates: time 0.06721/0.9049, allocations: 21.62 MB / 0.7018 GB, free: 11.04 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)