Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00713/0.00713, allocations: 100.2 kB / 15.87 MB, free: 6.332 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.364/1.364, allocations: 222.9 MB / 239.5 MB, free: 4.805 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.001467/0.001467, allocations: 192.4 kB / 289.8 MB, free: 2.535 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5603/0.5603, allocations: 91.9 MB / 431.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 75.89 kB / 0.5019 GB, free: 8.211 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3971, allocations: 71.26 MB / 0.5714 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01179/0.409, allocations: 14.61 MB / 0.5857 GB, free: 26.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007913/0.4169, allocations: 3.653 MB / 0.5893 GB, free: 24.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003521/0.4205, allocations: 35.59 kB / 0.5893 GB, free: 24.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.4226, allocations: 429.9 kB / 0.5897 GB, free: 24.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005603/0.4282, allocations: 1.244 MB / 0.5909 GB, free: 23.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00391/0.4322, allocations: 1.416 MB / 0.5923 GB, free: 22.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005183/0.4374, allocations: 3.573 MB / 0.5958 GB, free: 20.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.4386, allocations: 0.8026 MB / 0.5966 GB, free: 20.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.441, allocations: 1.415 MB / 0.598 GB, free: 19.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002845/0.4439, allocations: 1.894 MB / 0.5998 GB, free: 18.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007644/0.4447, allocations: 178.1 kB / 0.6 GB, free: 18.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.4459, allocations: 304.2 kB / 0.6003 GB, free: 18.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005191/0.4464, allocations: 0.6694 MB / 0.6009 GB, free: 18.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.448, allocations: 1.55 MB / 0.6024 GB, free: 17.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003021/0.451, allocations: 3.054 MB / 0.6054 GB, free: 16.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4511, allocations: 0 / 0.6054 GB, free: 16.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4511, allocations: 0 / 0.6054 GB, free: 16.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001303/0.4512, allocations: 0 / 0.6054 GB, free: 16.01 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02601/0.4772, allocations: 6.65 MB / 0.6119 GB, free: 13.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4773, allocations: 8.969 kB / 0.6119 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01562/0.4929, allocations: 2.273 MB / 0.6142 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004702/0.4977, allocations: 1.888 MB / 0.616 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006213/0.4983, allocations: 0.7277 MB / 0.6167 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005524/0.4989, allocations: 223.1 kB / 0.6169 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00701/0.5059, allocations: 3.047 MB / 0.6199 GB, free: 9.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/0.506, allocations: 3.938 kB / 0.6199 GB, free: 9.875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/0.5062, allocations: 94.48 kB / 0.62 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/0.5063, allocations: 48.59 kB / 0.62 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006386/0.5127, allocations: 2.79 MB / 0.6228 GB, free: 8.859 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.01874/0.5314, allocations: 9.94 MB / 0.6325 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/0.5419, allocations: 4.199 MB / 0.6366 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004089/0.546, allocations: 1.979 MB / 0.6385 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000362/0.5464, allocations: 33.97 kB / 0.6385 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004915/0.5513, allocations: 2.248 MB / 0.6407 GB, free: 7.043 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 5.991e-06/0.5514, allocations: 0 / 0.6407 GB, free: 7.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1169/0.6682, allocations: 27.42 MB / 0.6675 GB, free: 11.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.6684, allocations: 184.3 kB / 0.6677 GB, free: 11.28 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004439/0.6729, allocations: 2.309 MB / 0.6699 GB, free: 8.949 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009159/0.6738, allocations: 73.64 kB / 0.67 GB, free: 8.871 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.6749, allocations: 1.184 MB / 0.6712 GB, free: 7.676 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001709/0.6766, allocations: 0.8781 MB / 0.672 GB, free: 6.785 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00246/0.6791, allocations: 0.5697 MB / 0.6726 GB, free: 6.207 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6792, allocations: 301.1 kB / 0.6729 GB, free: 5.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004643/0.6839, allocations: 1.974 MB / 0.6748 GB, free: 3.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004988/0.6889, allocations: 2.338 MB / 0.6771 GB, free: 1.504 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05665/0.7456, allocations: 14.25 MB / 0.691 GB, free: 3.016 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/0.7456, allocations: 0 / 0.691 GB, free: 3.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04577/0.7914, allocations: 12.55 MB / 0.7033 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.7916, allocations: 120.8 kB / 0.7034 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.7916, allocations: 8 kB / 0.7034 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0183/0.8099, allocations: 5.265 MB / 0.7085 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/0.8135, allocations: 0.5812 MB / 0.7091 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06024/0.8737, allocations: 21.32 MB / 0.7299 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005317/0.8791, allocations: 493 kB / 0.7304 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009979/0.8801, allocations: 120 kB / 0.7305 GB, free: 10.32 MB / 0.5294 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.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: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 329 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002387/0.8825, allocations: 0.5412 MB / 0.731 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/0.8839, allocations: 292.3 kB / 0.7313 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0421/0.926, allocations: 11.94 MB / 0.743 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.054e-05/0.9261, allocations: 31.94 kB / 0.743 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.401e-05/0.9262, allocations: 16 kB / 0.743 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-05/0.9263, allocations: 19.95 kB / 0.743 GB, free: 13.38 MB / 0.545 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.0518/0.9781, allocations: 15.55 MB / 0.7582 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-05/0.9782, allocations: 4 kB / 0.7582 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/0.98, allocations: 243.6 kB / 0.7584 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01827/0.9983, allocations: 5.304 MB / 0.7636 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008641/0.9992, allocations: 51.98 kB / 0.7637 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3585/1.358, allocations: 22.67 MB / 0.7858 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.358, allocations: 1.156 kB / 0.7858 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05389/1.412, allocations: 14.31 MB / 0.7998 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.413, allocations: 411.7 kB / 0.8002 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005013/1.413, allocations: 51.53 kB / 0.8002 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/1.416, allocations: 298.5 kB / 0.8005 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002457/1.419, allocations: 0.5627 MB / 0.8011 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002348/1.419, allocations: 64.97 kB / 0.8011 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002681/1.422, allocations: 1.532 MB / 0.8026 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/1.422, allocations: 0 / 0.8026 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00418/1.426, allocations: 1.182 MB / 0.8038 GB, free: 156.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(67,21,7.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004321/1.426, allocations: 184.4 kB / 0.804 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01769/1.444, allocations: 6.659 MB / 0.8105 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.444, allocations: 128 / 0.8105 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01265/1.457, allocations: 4.42 MB / 0.8148 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003917/1.461, allocations: 260.2 kB / 0.815 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/1.473, allocations: 6.635 MB / 0.8215 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001949/1.475, allocations: 1.813 MB / 0.8233 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/1.477, allocations: 174.8 kB / 0.8234 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.093e-06/1.477, allocations: 4 kB / 0.8234 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.0747/1.551, allocations: 64.27 MB / 0.8862 GB, free: 82.71 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)