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.0009378/0.0009379, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 240 MB, free: 5.473 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.001261/0.001261, allocations: 192.3 kB / 291.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5403/0.5403, allocations: 91.92 MB / 434.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.000422, allocations: 16 kB / 0.5054 GB, free: 7.316 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3719, allocations: 72.47 MB / 0.5762 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.005095/0.377, allocations: 6.499 MB / 0.5825 GB, free: 32.15 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003524/0.3806, allocations: 2.031 MB / 0.5845 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.3816, allocations: 11.44 kB / 0.5845 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006425/0.3823, allocations: 191.7 kB / 0.5847 GB, free: 30.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.3841, allocations: 0.72 MB / 0.5854 GB, free: 30.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.3852, allocations: 0.584 MB / 0.586 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.3866, allocations: 1.544 MB / 0.5875 GB, free: 29.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000444/0.3871, allocations: 297.8 kB / 0.5878 GB, free: 29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008569/0.3879, allocations: 0.5817 MB / 0.5883 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007301/0.3887, allocations: 0.7762 MB / 0.5891 GB, free: 28.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.3888, allocations: 59.91 kB / 0.5892 GB, free: 28.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.3892, allocations: 188.3 kB / 0.5893 GB, free: 28.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.3895, allocations: 274.5 kB / 0.5896 GB, free: 28.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004612/0.3899, allocations: 0.6364 MB / 0.5902 GB, free: 27.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009894/0.3909, allocations: 1.265 MB / 0.5915 GB, free: 27.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3909, allocations: 4 kB / 0.5915 GB, free: 27.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3909, allocations: 0 / 0.5915 GB, free: 27.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.391, allocations: 0 / 0.5915 GB, free: 27.4 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.008714/0.3997, allocations: 2.56 MB / 0.594 GB, free: 26.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.3997, allocations: 9.75 kB / 0.594 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005091/0.4048, allocations: 0.7831 MB / 0.5947 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.4064, allocations: 0.9079 MB / 0.5956 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.4066, allocations: 266.3 kB / 0.5959 GB, free: 25.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.4068, allocations: 90.52 kB / 0.596 GB, free: 25.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.409, allocations: 1.161 MB / 0.5971 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.4091, allocations: 3.938 kB / 0.5971 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.586e-05/0.4092, allocations: 31.19 kB / 0.5971 GB, free: 24.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.4092, allocations: 18 kB / 0.5971 GB, free: 24.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.4112, allocations: 1.062 MB / 0.5982 GB, free: 24.45 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.00655/0.4178, allocations: 3.963 MB / 0.6021 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008212/0.426, allocations: 2.933 MB / 0.6049 GB, free: 21.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.4277, allocations: 0.7471 MB / 0.6056 GB, free: 21.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-05/0.4279, allocations: 17.92 kB / 0.6057 GB, free: 21.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00179/0.4296, allocations: 0.8965 MB / 0.6065 GB, free: 20.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.514e-06/0.4297, allocations: 0 / 0.6065 GB, free: 20.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03374/0.4634, allocations: 8.83 MB / 0.6152 GB, free: 19.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.4635, allocations: 114.8 kB / 0.6153 GB, free: 18.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/0.466, allocations: 1.137 MB / 0.6164 GB, free: 18.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002939/0.4663, allocations: 46.94 kB / 0.6164 GB, free: 18.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/0.4667, allocations: 0.4919 MB / 0.6169 GB, free: 18.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005456/0.4673, allocations: 361.3 kB / 0.6172 GB, free: 17.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004168/0.4677, allocations: 148.2 kB / 0.6174 GB, free: 17.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.4678, allocations: 301.9 kB / 0.6177 GB, free: 17.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/0.4698, allocations: 0.8434 MB / 0.6185 GB, free: 17.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/0.4719, allocations: 1.021 MB / 0.6195 GB, free: 16.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02503/0.4969, allocations: 6.235 MB / 0.6256 GB, free: 10.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.497, allocations: 4 kB / 0.6256 GB, free: 10.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0156/0.5126, allocations: 5.282 MB / 0.6307 GB, free: 5.102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.381e-05/0.5127, allocations: 59.34 kB / 0.6308 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.5127, allocations: 12 kB / 0.6308 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005992/0.5187, allocations: 1.92 MB / 0.6327 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.5202, allocations: 295.5 kB / 0.633 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02153/0.5418, allocations: 8.933 MB / 0.6417 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.5442, allocations: 238.7 kB / 0.6419 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003364/0.5446, allocations: 59.97 kB / 0.642 GB, free: 9.426 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.0009476/0.5455, allocations: 298.3 kB / 0.6423 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004585/0.546, allocations: 130.4 kB / 0.6424 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/0.5612, allocations: 4.752 MB / 0.647 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.5613, allocations: 12 kB / 0.647 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-05/0.5613, allocations: 4 kB / 0.647 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.512e-05/0.5614, allocations: 3.984 kB / 0.6471 GB, free: 4.184 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.01846/0.5798, allocations: 6.368 MB / 0.6533 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.5799, allocations: 0 / 0.6533 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007568/0.5807, allocations: 103.8 kB / 0.6534 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006445/0.5871, allocations: 1.88 MB / 0.6552 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002505/0.5874, allocations: 24 kB / 0.6552 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02173/0.6092, allocations: 9.703 MB / 0.6647 GB, free: 1.711 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6092, allocations: 0 / 0.6647 GB, free: 1.711 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/0.6265, allocations: 5.696 MB / 0.6703 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006825/0.6273, allocations: 231.2 kB / 0.6705 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005679/0.6279, allocations: 20 kB / 0.6705 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.6296, allocations: 144 kB / 0.6706 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007461/0.6303, allocations: 188.6 kB / 0.6708 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/0.6305, allocations: 31.98 kB / 0.6709 GB, free: 11.36 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001528/0.6321, allocations: 0.7592 MB / 0.6716 GB, free: 10.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6321, allocations: 4 kB / 0.6716 GB, free: 10.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002184/0.6343, allocations: 483.5 kB / 0.6721 GB, free: 10.12 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.0004071/0.6347, allocations: 144 kB / 0.6722 GB, free: 9.965 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007787/0.6425, allocations: 2.867 MB / 0.675 GB, free: 7.059 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.6425, allocations: 0 / 0.675 GB, free: 7.059 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005036/0.6476, allocations: 1.805 MB / 0.6768 GB, free: 5.219 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.6495, allocations: 115 kB / 0.6769 GB, free: 5.105 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005413/0.6549, allocations: 2.95 MB / 0.6798 GB, free: 2.129 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008194/0.6558, allocations: 1.132 MB / 0.6809 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/0.6563, allocations: 79.41 kB / 0.6809 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6563, allocations: 4 kB / 0.6809 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of Templates: time 0.03518/0.6915, allocations: 23.72 MB / 0.7041 GB, free: 9.172 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)