Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, 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.241/1.241, allocations: 223.2 MB / 238.9 MB, free: 5.648 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.001102/0.001102, allocations: 181.1 kB / 290.2 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4125/0.4125, allocations: 78.52 MB / 419.8 MB, free: 4.414 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003327, allocations: 8 kB / 499.6 MB, free: 6.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1101, allocations: 69.37 MB / 0.5557 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII): time 0.1934/0.3036, allocations: 11.5 MB / 0.5669 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005659/0.3093, allocations: 3.388 MB / 0.5702 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.3107, allocations: 28.34 kB / 0.5702 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008939/0.3116, allocations: 355.8 kB / 0.5706 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.3145, allocations: 1.267 MB / 0.5718 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.3169, allocations: 1.253 MB / 0.573 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002766/0.3196, allocations: 2.178 MB / 0.5752 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007876/0.3204, allocations: 0.6107 MB / 0.5758 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.3218, allocations: 1.2 MB / 0.5769 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.3232, allocations: 1.576 MB / 0.5785 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003125/0.3235, allocations: 135.8 kB / 0.5786 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006275/0.3242, allocations: 248.8 kB / 0.5788 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003264/0.3245, allocations: 0.5399 MB / 0.5794 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.3249, allocations: 495.2 kB / 0.5798 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.3267, allocations: 2.569 MB / 0.5824 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.3267, allocations: 0 / 0.5824 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3267, allocations: 0 / 0.5824 GB, free: 28.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.821e-05/0.3268, allocations: 0 / 0.5824 GB, free: 28.3 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: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.01841/0.3452, allocations: 5.792 MB / 0.588 GB, free: 26.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3453, allocations: 9.594 kB / 0.588 GB, free: 26.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/0.3596, allocations: 2.272 MB / 0.5902 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003573/0.3632, allocations: 1.572 MB / 0.5918 GB, free: 24.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007821/0.364, allocations: 0.6916 MB / 0.5924 GB, free: 24.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007809/0.3648, allocations: 204.2 kB / 0.5926 GB, free: 24.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006767/0.3716, allocations: 3.084 MB / 0.5957 GB, free: 23.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.3716, allocations: 0.8438 kB / 0.5957 GB, free: 23.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002971/0.3719, allocations: 77.41 kB / 0.5957 GB, free: 23.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.402e-05/0.372, allocations: 45.97 kB / 0.5958 GB, free: 23.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006836/0.3788, allocations: 2.878 MB / 0.5986 GB, free: 22.2 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.01896/0.3978, allocations: 10.17 MB / 0.6085 GB, free: 16.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/0.4092, allocations: 4.794 MB / 0.6132 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/0.4095, allocations: 47.03 kB / 0.6132 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.4096, allocations: 53.03 kB / 0.6133 GB, free: 14.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 4.288e-06/0.4096, allocations: 1.188 kB / 0.6133 GB, free: 14.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=229): time 0.1073/0.5169, allocations: 31.33 MB / 0.6439 GB, free: 3.445 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.517, allocations: 128.8 kB / 0.644 GB, free: 3.293 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003093/0.5201, allocations: 1.993 MB / 0.646 GB, free: 1.281 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005582/0.5207, allocations: 73.7 kB / 0.646 GB, free: 1.203 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008817/0.5216, allocations: 1.089 MB / 0.6471 GB, free: 104 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001096/0.5227, allocations: 0.8089 MB / 0.6479 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004365/0.5231, allocations: 60 kB / 0.6479 GB, free: 15.22 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.5233, allocations: 416.2 kB / 0.6483 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004408/0.5277, allocations: 2.083 MB / 0.6504 GB, free: 12.72 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004592/0.5324, allocations: 2.433 MB / 0.6528 GB, free: 10.19 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004575/0.5369, allocations: 2.239 MB / 0.6549 GB, free: 7.926 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.537, allocations: 0 / 0.6549 GB, free: 7.926 MB / 462.1 MB Notification: Performance of matching and sorting (n=381) (initialization): time 0.04224/0.5792, allocations: 14.86 MB / 0.6695 GB, free: 9.012 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008352/0.5801, allocations: 2.706 MB / 0.6721 GB, free: 6.047 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.5801, allocations: 8 kB / 0.6721 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0196/0.5997, allocations: 6.428 MB / 0.6784 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/0.6024, allocations: 0.4924 MB / 0.6789 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06334/0.6658, allocations: 26.47 MB / 0.7047 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004146/0.67, allocations: 0.5401 MB / 0.7052 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005124/0.6705, allocations: 104 kB / 0.7053 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.6705, allocations: 5.25 kB / 0.7053 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04173/0.7123, allocations: 14.54 MB / 0.7195 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.738e-05/0.7123, allocations: 4 kB / 0.7195 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01906/0.7314, allocations: 6.432 MB / 0.7258 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/0.734, allocations: 495.3 kB / 0.7263 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06252/0.7966, allocations: 26.48 MB / 0.7522 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003982/0.8006, allocations: 0.4939 MB / 0.7526 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005361/0.8011, allocations: 108 kB / 0.7527 GB, free: 3.172 MB / 0.545 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001469/0.8026, allocations: 0.5104 MB / 0.7532 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007334/0.8033, allocations: 272.6 kB / 0.7535 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04148/0.8448, allocations: 14.28 MB / 0.7674 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/0.8449, allocations: 24 kB / 0.7675 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.638e-05/0.8449, allocations: 16 kB / 0.7675 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.077e-05/0.845, allocations: 15.91 kB / 0.7675 GB, free: 4.023 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.2327/1.078, allocations: 17.84 MB / 0.7849 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/1.078, allocations: 0 / 0.7849 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/1.079, allocations: 254.3 kB / 0.7852 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01721/1.096, allocations: 6.067 MB / 0.7911 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003233/1.097, allocations: 40.62 kB / 0.7911 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05479/1.151, allocations: 22.68 MB / 0.8133 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/1.151, allocations: 4.578 kB / 0.8133 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04189/1.193, allocations: 16.85 MB / 0.8297 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008887/1.194, allocations: 378.5 kB / 0.8301 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008944/1.195, allocations: 48.56 kB / 0.8301 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003057/1.198, allocations: 357.2 kB / 0.8305 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001847/1.2, allocations: 0.5445 MB / 0.831 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002968/1.2, allocations: 59.8 kB / 0.8311 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001619/1.202, allocations: 1.291 MB / 0.8323 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/1.202, allocations: 3.719 kB / 0.8323 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005199/1.207, allocations: 1.856 MB / 0.8342 GB, free: 145 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * 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 (148): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004653/1.208, allocations: 170.1 kB / 0.8343 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02883/1.237, allocations: 12.27 MB / 0.8463 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.237, allocations: 0 / 0.8463 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01189/1.249, allocations: 4.621 MB / 0.8508 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/1.25, allocations: 184.2 kB / 0.851 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009212/1.259, allocations: 6.308 MB / 0.8571 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/1.261, allocations: 1.796 MB / 0.8589 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001337/1.262, allocations: 275.5 kB / 0.8592 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005476/1.262, allocations: 147.4 kB / 0.8593 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/1.263, allocations: 0 / 0.8593 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.08066/1.343, allocations: 72.99 MB / 0.9306 GB, free: 49.6 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1) Environment - environmentSimulation: