Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.366/1.366, allocations: 222.9 MB / 240 MB, free: 4.484 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.001398/0.001398, allocations: 192.4 kB / 290.3 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.526/0.526, allocations: 91.91 MB / 432.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 83.88 kB / 0.5033 GB, free: 6.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3939, allocations: 71.26 MB / 0.5729 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01044/0.4044, allocations: 13.62 MB / 0.5862 GB, free: 28.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007684/0.4121, allocations: 3.472 MB / 0.5896 GB, free: 25.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002899/0.415, allocations: 27.72 kB / 0.5896 GB, free: 25.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.4166, allocations: 0.5658 MB / 0.5901 GB, free: 25.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004916/0.4215, allocations: 1.427 MB / 0.5915 GB, free: 24.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.4249, allocations: 1.497 MB / 0.593 GB, free: 23.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00539/0.4303, allocations: 3.727 MB / 0.5966 GB, free: 21.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.4316, allocations: 0.8953 MB / 0.5975 GB, free: 21.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.4342, allocations: 1.522 MB / 0.599 GB, free: 20.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002903/0.4372, allocations: 1.957 MB / 0.6009 GB, free: 19.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009422/0.4381, allocations: 284.9 kB / 0.6012 GB, free: 19.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.4396, allocations: 430.8 kB / 0.6016 GB, free: 19.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006069/0.4402, allocations: 0.759 MB / 0.6023 GB, free: 19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001762/0.442, allocations: 1.635 MB / 0.6039 GB, free: 17.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005296/0.4473, allocations: 3.979 MB / 0.6078 GB, free: 16.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4473, allocations: 1.406 kB / 0.6078 GB, free: 16.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4473, allocations: 0 / 0.6078 GB, free: 16.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001485/0.4475, allocations: 0 / 0.6078 GB, free: 16.04 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02712/0.4746, allocations: 6.572 MB / 0.6142 GB, free: 13.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4747, allocations: 13.03 kB / 0.6142 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/0.4905, allocations: 2.277 MB / 0.6165 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006396/0.497, allocations: 1.875 MB / 0.6183 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008963/0.4979, allocations: 0.727 MB / 0.619 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/0.4994, allocations: 215.8 kB / 0.6192 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.5101, allocations: 3.027 MB / 0.6222 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.695e-05/0.5102, allocations: 1.125 kB / 0.6222 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007584/0.511, allocations: 89.58 kB / 0.6223 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.735e-05/0.5111, allocations: 48.94 kB / 0.6223 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007634/0.5187, allocations: 2.783 MB / 0.625 GB, free: 8.57 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.02075/0.5395, allocations: 9.798 MB / 0.6346 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.5501, allocations: 4.18 MB / 0.6387 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004301/0.5544, allocations: 1.968 MB / 0.6406 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004709/0.555, allocations: 37.89 kB / 0.6406 GB, free: 8.348 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005141/0.5601, allocations: 2.236 MB / 0.6428 GB, free: 6.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 5.56e-06/0.5601, allocations: 0 / 0.6428 GB, free: 6.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=247): time 0.1179/0.678, allocations: 29.46 MB / 0.6716 GB, free: 8.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.6782, allocations: 188.3 kB / 0.6718 GB, free: 8.277 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004762/0.683, allocations: 2.273 MB / 0.674 GB, free: 5.984 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001003/0.684, allocations: 77.64 kB / 0.6741 GB, free: 5.902 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.6852, allocations: 1.176 MB / 0.6752 GB, free: 4.715 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001865/0.6871, allocations: 0.8626 MB / 0.676 GB, free: 3.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002889/0.69, allocations: 0.5617 MB / 0.6766 GB, free: 3.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.6901, allocations: 301.1 kB / 0.6769 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004717/0.6949, allocations: 1.951 MB / 0.6788 GB, free: 1.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004938/0.6998, allocations: 2.306 MB / 0.681 GB, free: 14.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05324/0.7531, allocations: 14 MB / 0.6947 GB, free: 400 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/0.7531, allocations: 7.922 kB / 0.6947 GB, free: 392 kB / 494.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04053/0.7937, allocations: 12.28 MB / 0.7067 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.7938, allocations: 122.8 kB / 0.7068 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.7939, allocations: 7.938 kB / 0.7068 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01735/0.8112, allocations: 5.313 MB / 0.712 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003176/0.8144, allocations: 0.5617 MB / 0.7126 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06001/0.8745, allocations: 23.48 MB / 0.7355 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004841/0.8794, allocations: 485.1 kB / 0.736 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000889/0.8803, allocations: 116 kB / 0.7361 GB, free: 5.762 MB / 0.5294 GB Warning: Assuming fixed start value for the following 6 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 order3_1.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 (325): * Single equations (assignments): 320 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.002228/0.8825, allocations: 0.5363 MB / 0.7366 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/0.8839, allocations: 296.3 kB / 0.7369 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03806/0.9219, allocations: 11.89 MB / 0.7485 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/0.922, allocations: 31.94 kB / 0.7485 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.049e-05/0.9221, allocations: 16 kB / 0.7485 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-05/0.9222, allocations: 19.95 kB / 0.7486 GB, free: 8.898 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.04582/0.968, allocations: 15.48 MB / 0.7637 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-05/0.9681, allocations: 3.938 kB / 0.7637 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/0.9698, allocations: 247.6 kB / 0.7639 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0169/0.9867, allocations: 5.291 MB / 0.7691 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008615/0.9876, allocations: 47.98 kB / 0.7691 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4145/1.402, allocations: 24.92 MB / 0.7935 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.402, allocations: 2.938 kB / 0.7935 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04445/1.447, allocations: 14.26 MB / 0.8074 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/1.448, allocations: 412 kB / 0.8078 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/1.449, allocations: 47.41 kB / 0.8078 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003649/1.453, allocations: 298.9 kB / 0.8081 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00216/1.455, allocations: 0.5845 MB / 0.8087 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/1.455, allocations: 64.34 kB / 0.8088 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002478/1.458, allocations: 1.506 MB / 0.8102 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.458, allocations: 0 / 0.8102 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004699/1.463, allocations: 1.17 MB / 0.8114 GB, free: 154 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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 {(66,22,7.7%)} * 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.0005048/1.463, allocations: 175.2 kB / 0.8115 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0154/1.479, allocations: 6.708 MB / 0.8181 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.479, allocations: 0 / 0.8181 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01157/1.49, allocations: 4.405 MB / 0.8224 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/1.493, allocations: 272.7 kB / 0.8227 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008627/1.502, allocations: 5.26 MB / 0.8278 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.503, allocations: 1.8 MB / 0.8296 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009866/1.504, allocations: 271.8 kB / 0.8298 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/1.504, allocations: 166.8 kB / 0.83 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/1.504, allocations: 0 / 0.83 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.08467/1.589, allocations: 65.1 MB / 0.8935 GB, free: 76.69 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)