Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.31/1.31, allocations: 223.2 MB / 238.9 MB, free: 5.48 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.001302/0.001303, allocations: 185.1 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4799/0.4799, allocations: 79.46 MB / 420.7 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004114, allocations: 15.98 kB / 0.489 GB, free: 5.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1552, allocations: 69.53 MB / 0.5569 GB, free: 28 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI): time 0.27/0.4253, allocations: 5.611 MB / 0.5624 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004505/0.4298, allocations: 1.958 MB / 0.5643 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009008/0.4307, allocations: 10.94 kB / 0.5643 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007351/0.4315, allocations: 174.1 kB / 0.5645 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.4334, allocations: 0.7068 MB / 0.5651 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.4347, allocations: 0.541 MB / 0.5657 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.4363, allocations: 0.9797 MB / 0.5666 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.4367, allocations: 258.7 kB / 0.5669 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006316/0.4373, allocations: 0.5425 MB / 0.5674 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006597/0.438, allocations: 0.704 MB / 0.5681 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.4381, allocations: 56.22 kB / 0.5681 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.4385, allocations: 166.7 kB / 0.5683 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.4388, allocations: 261.1 kB / 0.5686 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.439, allocations: 226.2 kB / 0.5688 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.4401, allocations: 1.176 MB / 0.5699 GB, free: 35.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4401, allocations: 0 / 0.5699 GB, free: 35.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4401, allocations: 1.219 kB / 0.5699 GB, free: 35.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.4401, allocations: 0 / 0.5699 GB, free: 35.8 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.007525/0.4476, allocations: 2.487 MB / 0.5723 GB, free: 34.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4477, allocations: 8.844 kB / 0.5724 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004781/0.4525, allocations: 0.7823 MB / 0.5731 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.4541, allocations: 0.8447 MB / 0.5739 GB, free: 34.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.4543, allocations: 240.1 kB / 0.5742 GB, free: 33.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.4545, allocations: 79.81 kB / 0.5742 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.4564, allocations: 1.143 MB / 0.5754 GB, free: 33.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.4564, allocations: 0 / 0.5754 GB, free: 33.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.575e-05/0.4565, allocations: 34.47 kB / 0.5754 GB, free: 33.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.4566, allocations: 28.42 kB / 0.5754 GB, free: 33.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.4584, allocations: 1.066 MB / 0.5765 GB, free: 33.02 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.006094/0.4645, allocations: 4.169 MB / 0.5805 GB, free: 30.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007037/0.4716, allocations: 2.875 MB / 0.5833 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.4717, allocations: 23.2 kB / 0.5834 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.4718, allocations: 51.08 kB / 0.5834 GB, free: 29.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 3.547e-06/0.4718, allocations: 0 / 0.5834 GB, free: 29.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02849/0.5003, allocations: 8.302 MB / 0.5915 GB, free: 28.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.5004, allocations: 140.3 kB / 0.5917 GB, free: 28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.5025, allocations: 1.073 MB / 0.5927 GB, free: 27.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002847/0.5028, allocations: 41.98 kB / 0.5927 GB, free: 27.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.5032, allocations: 494.8 kB / 0.5932 GB, free: 27.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003952/0.5036, allocations: 349.3 kB / 0.5935 GB, free: 26.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/0.5037, allocations: 30.5 kB / 0.5936 GB, free: 26.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.5038, allocations: 368.9 kB / 0.5939 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.5055, allocations: 0.815 MB / 0.5947 GB, free: 26.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.5073, allocations: 0.983 MB / 0.5957 GB, free: 25.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.5091, allocations: 0.9556 MB / 0.5966 GB, free: 25.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.5091, allocations: 4 kB / 0.5966 GB, free: 25.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01564/0.5248, allocations: 5.138 MB / 0.6016 GB, free: 24.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004051/0.5252, allocations: 1.187 MB / 0.6028 GB, free: 22.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.5252, allocations: 3.062 kB / 0.6028 GB, free: 22.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006547/0.5318, allocations: 1.856 MB / 0.6046 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.5334, allocations: 280.8 kB / 0.6049 GB, free: 22.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/0.5557, allocations: 9.218 MB / 0.6139 GB, free: 17.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.558, allocations: 228.3 kB / 0.6141 GB, free: 17.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003355/0.5584, allocations: 57.77 kB / 0.6142 GB, free: 17.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.5584, allocations: 4 kB / 0.6142 GB, free: 17.6 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01335/0.5718, allocations: 4.97 MB / 0.619 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/0.5718, allocations: 1.016 kB / 0.619 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005493/0.5773, allocations: 1.867 MB / 0.6208 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.5788, allocations: 271.6 kB / 0.6211 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01872/0.5976, allocations: 9.201 MB / 0.6301 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.5996, allocations: 202.9 kB / 0.6303 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003096/0.5999, allocations: 51.98 kB / 0.6303 GB, free: 1.062 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 13} Notification: Performance of prepare postOptimizeDAE: time 0.0009328/0.6008, allocations: 380 kB / 0.6307 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004282/0.6013, allocations: 131.2 kB / 0.6308 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/0.6145, allocations: 4.591 MB / 0.6353 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.6146, allocations: 17.41 kB / 0.6353 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-05/0.6146, allocations: 4 kB / 0.6353 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/0.6146, allocations: 3.984 kB / 0.6353 GB, free: 11.91 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.01618/0.6308, allocations: 6.3 MB / 0.6415 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/0.6309, allocations: 1 kB / 0.6415 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007976/0.6317, allocations: 115.9 kB / 0.6416 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005487/0.6372, allocations: 1.801 MB / 0.6433 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002335/0.6374, allocations: 24 kB / 0.6434 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/0.6553, allocations: 8.002 MB / 0.6512 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.6553, allocations: 4 kB / 0.6512 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/0.6704, allocations: 5.528 MB / 0.6566 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006238/0.6711, allocations: 228.3 kB / 0.6568 GB, free: 5.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004808/0.6716, allocations: 17.12 kB / 0.6568 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/0.6731, allocations: 143.9 kB / 0.657 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005921/0.6737, allocations: 180.6 kB / 0.6571 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.6738, allocations: 24 kB / 0.6572 GB, free: 5.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001355/0.6752, allocations: 0.7155 MB / 0.6578 GB, free: 4.508 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6752, allocations: 0 / 0.6578 GB, free: 4.508 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003001/0.6782, allocations: 0.7491 MB / 0.6586 GB, free: 3.758 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003359/0.6786, allocations: 148.4 kB / 0.6587 GB, free: 3.605 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01175/0.6903, allocations: 4.826 MB / 0.6634 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.6904, allocations: 8.062 kB / 0.6634 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004378/0.6948, allocations: 1.668 MB / 0.6651 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.6959, allocations: 99.22 kB / 0.6652 GB, free: 12.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/0.7007, allocations: 2.694 MB / 0.6678 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007909/0.7016, allocations: 1.152 MB / 0.6689 GB, free: 9.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007894/0.7024, allocations: 162.6 kB / 0.6691 GB, free: 8.918 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.7027, allocations: 79.41 kB / 0.6692 GB, free: 8.844 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7027, allocations: 0 / 0.6692 GB, free: 8.844 MB / 478.1 MB Notification: Performance of Templates: time 0.04639/0.7491, allocations: 26.85 MB / 0.6954 GB, free: 14.15 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)