Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009215/0.0009215, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.321/1.321, allocations: 223.3 MB / 239 MB, free: 5.621 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.001138/0.001138, allocations: 172.5 kB / 290.3 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5223/0.5223, allocations: 91.93 MB / 433.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003758, allocations: 16 kB / 0.5042 GB, free: 7.609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3325, allocations: 72.46 MB / 0.5749 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI): time 0.01241/0.345, allocations: 20.69 MB / 0.5951 GB, free: 22.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.3554, allocations: 4.958 MB / 0.6 GB, free: 18.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004965/0.3604, allocations: 51.75 kB / 0.6 GB, free: 18.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003248/0.3637, allocations: 0.6128 MB / 0.6006 GB, free: 18.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008668/0.3723, allocations: 1.754 MB / 0.6023 GB, free: 16.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005123/0.3775, allocations: 1.776 MB / 0.6041 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007209/0.3847, allocations: 5.136 MB / 0.6091 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.3868, allocations: 1.046 MB / 0.6101 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003494/0.3903, allocations: 1.981 MB / 0.612 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003683/0.394, allocations: 2.581 MB / 0.6146 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009023/0.3949, allocations: 233.7 kB / 0.6148 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.3963, allocations: 373 kB / 0.6151 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007113/0.397, allocations: 0.9024 MB / 0.616 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.3982, allocations: 0.8329 MB / 0.6168 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005006/0.4032, allocations: 4.611 MB / 0.6213 GB, free: 8.094 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4032, allocations: 1.219 kB / 0.6213 GB, free: 8.094 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4032, allocations: 0 / 0.6213 GB, free: 8.094 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001811/0.4034, allocations: 0 / 0.6213 GB, free: 8.094 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.02754/0.4309, allocations: 8.439 MB / 0.6296 GB, free: 4.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.431, allocations: 17.31 kB / 0.6296 GB, free: 4.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02577/0.4568, allocations: 4.05 MB / 0.6336 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005848/0.4627, allocations: 2.49 MB / 0.636 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009473/0.4636, allocations: 0.9672 MB / 0.6369 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009917/0.4646, allocations: 351.9 kB / 0.6373 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.4754, allocations: 4.966 MB / 0.6421 GB, free: 8.746 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.948e-05/0.4754, allocations: 0 / 0.6421 GB, free: 8.746 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004135/0.4759, allocations: 136 kB / 0.6422 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.407e-05/0.4759, allocations: 87.95 kB / 0.6423 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009398/0.4853, allocations: 4.505 MB / 0.6467 GB, free: 4.012 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 preOpt removeSimpleEquations (simulation): time 0.03337/0.5187, allocations: 18.83 MB / 0.6651 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.5315, allocations: 5.704 MB / 0.6707 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007191/0.5388, allocations: 3.044 MB / 0.6737 GB, free: 7.145 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006927/0.5395, allocations: 74.8 kB / 0.6737 GB, free: 7.074 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.21e-05/0.5396, allocations: 69.53 kB / 0.6738 GB, free: 6.996 MB / 478.1 MB Notification: Performance of pre-optimization done (n=379): time 5.961e-06/0.5396, allocations: 0 / 0.6738 GB, free: 6.996 MB / 478.1 MB Notification: Performance of matching and sorting (n=379): time 0.2878/0.8274, allocations: 79.84 MB / 0.7518 GB, free: 6.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.8276, allocations: 171.5 kB / 0.7519 GB, free: 6.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005869/0.8334, allocations: 3.179 MB / 0.755 GB, free: 3.582 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/0.8345, allocations: 93.7 kB / 0.7551 GB, free: 3.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001687/0.8362, allocations: 1.959 MB / 0.757 GB, free: 1.512 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002172/0.8384, allocations: 1.301 MB / 0.7583 GB, free: 196 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008236/0.8392, allocations: 80 kB / 0.7584 GB, free: 116 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002924/0.8395, allocations: 462.8 kB / 0.7588 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006077/0.8456, allocations: 2.823 MB / 0.7616 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006464/0.8521, allocations: 3.447 MB / 0.765 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006263/0.8584, allocations: 3.099 MB / 0.768 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/0.8584, allocations: 4 kB / 0.768 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=524) (initialization): time 0.2999/1.158, allocations: 20.93 MB / 0.7884 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002717/1.159, allocations: 0.5974 MB / 0.789 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/1.159, allocations: 15.25 kB / 0.789 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02658/1.185, allocations: 8.552 MB / 0.7974 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/1.189, allocations: 0.6468 MB / 0.798 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07608/1.265, allocations: 35.24 MB / 0.8324 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005926/1.271, allocations: 0.7378 MB / 0.8331 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008052/1.272, allocations: 148 kB / 0.8333 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/1.272, allocations: 2.031 kB / 0.8333 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04988/1.321, allocations: 20.51 MB / 0.8533 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.297e-05/1.322, allocations: 19.98 kB / 0.8533 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02298/1.345, allocations: 8.553 MB / 0.8617 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/1.348, allocations: 0.6397 MB / 0.8623 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07224/1.42, allocations: 35.23 MB / 0.8967 GB, free: 72.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005577/1.425, allocations: 0.7044 MB / 0.8974 GB, free: 71.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006142/1.426, allocations: 144 kB / 0.8975 GB, free: 71.81 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(flow=false start = order3_1.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 385 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001878/1.428, allocations: 0.7559 MB / 0.8983 GB, free: 71.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009431/1.429, allocations: 454.3 kB / 0.8987 GB, free: 70.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04938/1.478, allocations: 20.49 MB / 0.9187 GB, free: 50.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/1.478, allocations: 36 kB / 0.9188 GB, free: 50 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.434e-05/1.478, allocations: 31.94 kB / 0.9188 GB, free: 49.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.94e-05/1.479, allocations: 19.44 kB / 0.9188 GB, free: 49.95 MB / 0.5606 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.05722/1.536, allocations: 25.76 MB / 0.944 GB, free: 24.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.733e-05/1.536, allocations: 4 kB / 0.944 GB, free: 24.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002569/1.538, allocations: 407.5 kB / 0.9443 GB, free: 23.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02335/1.562, allocations: 8.604 MB / 0.9527 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001256/1.563, allocations: 75.98 kB / 0.9528 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07241/1.636, allocations: 30.58 MB / 0.9827 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.636, allocations: 3.953 kB / 0.9827 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.352/1.988, allocations: 24.08 MB / 1.006 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/1.989, allocations: 0.5562 MB / 1.007 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001959/1.991, allocations: 63.78 kB / 1.007 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005584/1.997, allocations: 0.4956 MB / 1.007 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003606/2, allocations: 0.7769 MB / 1.008 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007517/2.001, allocations: 92.23 kB / 1.008 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003935/2.005, allocations: 2.076 MB / 1.01 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.81e-07/2.005, allocations: 1.906 kB / 1.01 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01162/2.017, allocations: 2.959 MB / 1.013 GB, free: 175.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.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 (249): * Single equations (assignments): 247 * 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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009532/2.018, allocations: 194.2 kB / 1.013 GB, free: 175 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.04826/2.066, allocations: 17.54 MB / 1.03 GB, free: 171.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/2.066, allocations: 4 kB / 1.03 GB, free: 171.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0183/2.084, allocations: 6.91 MB / 1.037 GB, free: 169.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/2.088, allocations: 396.6 kB / 1.037 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/2.101, allocations: 9.282 MB / 1.047 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/2.102, allocations: 2.491 MB / 1.049 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00203/2.104, allocations: 453 kB / 1.049 GB, free: 163.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007792/2.105, allocations: 232.7 kB / 1.05 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of SimCode: time 7.22e-07/2.105, allocations: 0 / 1.05 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.1255/2.231, allocations: 109 MB / 1.156 GB, free: 61.5 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)