Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 111 kB / 16.41 MB, free: 6.469 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.449/1.449, allocations: 222.9 MB / 240.1 MB, free: 4.383 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.001806/0.001806, allocations: 188.5 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5199/0.5199, allocations: 91.9 MB / 432.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 83.09 kB / 0.5735 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1688, allocations: 71.28 MB / 0.6431 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01915/0.188, allocations: 21.99 MB / 0.6646 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.2011, allocations: 4.912 MB / 0.6694 GB, free: 8.449 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005672/0.2068, allocations: 44 kB / 0.6694 GB, free: 8.406 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003876/0.2107, allocations: 0.8789 MB / 0.6703 GB, free: 7.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009951/0.2207, allocations: 2.052 MB / 0.6723 GB, free: 5.457 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00661/0.2273, allocations: 2.07 MB / 0.6743 GB, free: 3.418 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01097/0.2383, allocations: 5.802 MB / 0.68 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003214/0.2416, allocations: 1.322 MB / 0.6813 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004525/0.2461, allocations: 2.361 MB / 0.6836 GB, free: 9.848 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005319/0.2515, allocations: 2.982 MB / 0.6865 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002187/0.2537, allocations: 448 kB / 0.6869 GB, free: 6.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.2568, allocations: 0.5937 MB / 0.6875 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002113/0.2589, allocations: 1.167 MB / 0.6886 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00516/0.2641, allocations: 2.633 MB / 0.6912 GB, free: 2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.2749, allocations: 6.289 MB / 0.6973 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.275, allocations: 0 / 0.6973 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.275, allocations: 0 / 0.6973 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002994/0.2753, allocations: 0 / 0.6973 GB, free: 11.69 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03409/0.3094, allocations: 9.244 MB / 0.7064 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3094, allocations: 8.031 kB / 0.7064 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02737/0.3368, allocations: 4.016 MB / 0.7103 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007285/0.3442, allocations: 2.694 MB / 0.7129 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001207/0.3454, allocations: 0.9573 MB / 0.7139 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001752/0.3472, allocations: 348 kB / 0.7142 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01555/0.3627, allocations: 4.762 MB / 0.7189 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/0.3629, allocations: 0 / 0.7189 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001316/0.3642, allocations: 140 kB / 0.719 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.3644, allocations: 84 kB / 0.7191 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/0.3785, allocations: 4.26 MB / 0.7232 GB, free: 0.8281 MB / 0.5137 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 preOpt removeSimpleEquations (simulation): time 0.04224/0.4208, allocations: 18.29 MB / 0.7411 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/0.4347, allocations: 5.033 MB / 0.746 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006912/0.4417, allocations: 2.802 MB / 0.7487 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008613/0.4426, allocations: 70.92 kB / 0.7488 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008533/0.4512, allocations: 3.185 MB / 0.7519 GB, free: 2.125 MB / 0.545 GB Notification: Performance of pre-optimization done (n=385): time 9.999e-06/0.4512, allocations: 0 / 0.7519 GB, free: 2.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=385): time 0.6749/1.126, allocations: 66.82 MB / 0.8172 GB, free: 83.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/1.126, allocations: 141.8 kB / 0.8173 GB, free: 83.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0043/1.131, allocations: 3.274 MB / 0.8205 GB, free: 81.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001012/1.132, allocations: 96.69 kB / 0.8206 GB, free: 81.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001136/1.133, allocations: 1.978 MB / 0.8225 GB, free: 79.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001502/1.134, allocations: 1.317 MB / 0.8238 GB, free: 78.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/1.135, allocations: 0.6902 MB / 0.8245 GB, free: 77.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.872e-05/1.136, allocations: 301.1 kB / 0.8248 GB, free: 77.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004902/1.14, allocations: 2.62 MB / 0.8273 GB, free: 74.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005173/1.146, allocations: 3.249 MB / 0.8305 GB, free: 71.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0683/1.214, allocations: 19.13 MB / 0.8492 GB, free: 52.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-05/1.214, allocations: 4 kB / 0.8492 GB, free: 52.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05421/1.268, allocations: 17.24 MB / 0.866 GB, free: 34.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.293e-05/1.268, allocations: 68.03 kB / 0.8661 GB, free: 34.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.459e-05/1.268, allocations: 19.94 kB / 0.8661 GB, free: 34.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02571/1.294, allocations: 7.291 MB / 0.8732 GB, free: 27.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/1.298, allocations: 0.6864 MB / 0.8739 GB, free: 26.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0859/1.384, allocations: 33.85 MB / 0.907 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007258/1.391, allocations: 0.6211 MB / 0.9076 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.392, allocations: 152 kB / 0.9077 GB, free: 7.965 MB / 0.5762 GB Warning: Assuming fixed start value for the following 4 variables: order6.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.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (409): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 2 * 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 {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.003204/1.395, allocations: 0.6829 MB / 0.9084 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001689/1.397, allocations: 458.3 kB / 0.9088 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05868/1.456, allocations: 16.88 MB / 0.9253 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.055e-05/1.456, allocations: 39.94 kB / 0.9253 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001146/1.456, allocations: 36 kB / 0.9254 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001192/1.456, allocations: 19.92 kB / 0.9254 GB, free: 5.77 MB / 0.5919 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.07262/1.529, allocations: 21.91 MB / 0.9468 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.43e-05/1.529, allocations: 4 kB / 0.9468 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002689/1.532, allocations: 391.5 kB / 0.9472 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02794/1.56, allocations: 7.343 MB / 0.9543 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001274/1.561, allocations: 76.86 kB / 0.9544 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09139/1.652, allocations: 31.83 MB / 0.9855 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.652, allocations: 3.938 kB / 0.9855 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06786/1.72, allocations: 20.28 MB / 1.005 GB, free: 3.477 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002585/1.723, allocations: 0.5648 MB / 1.006 GB, free: 2.887 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00264/1.726, allocations: 60 kB / 1.006 GB, free: 2.828 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006277/1.732, allocations: 387.5 kB / 1.006 GB, free: 2.449 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003949/1.736, allocations: 0.7843 MB / 1.007 GB, free: 1.664 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008982/1.737, allocations: 95.98 kB / 1.007 GB, free: 1.57 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00455/1.741, allocations: 2.145 MB / 1.009 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.2e-07/1.741, allocations: 4 kB / 1.009 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00793/1.749, allocations: 1.813 MB / 1.011 GB, free: 13.61 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00106/1.75, allocations: 206.7 kB / 1.011 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02825/1.779, allocations: 9.361 MB / 1.02 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.779, allocations: 0 / 1.02 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.02129/1.8, allocations: 6.188 MB / 1.026 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005598/1.806, allocations: 394.8 kB / 1.027 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02047/1.826, allocations: 8.094 MB / 1.035 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003118/1.829, allocations: 2.467 MB / 1.037 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001711/1.831, allocations: 275.4 kB / 1.037 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of SimCode: time 1.462e-06/1.831, allocations: 0 / 1.037 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of Templates: time 0.496/2.327, allocations: 89.92 MB / 1.125 GB, free: 177.5 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)