Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 181.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009193/0.0009193, allocations: 98.34 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4066/0.4066, allocations: 78.47 MB / 418.5 MB, free: 8.816 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 64.19 kB / 497.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2381, allocations: 68.13 MB / 0.5523 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.0138/0.2519, allocations: 23.23 MB / 0.575 GB, free: 12.92 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.009832/0.2618, allocations: 5.118 MB / 0.58 GB, free: 7.781 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003341/0.2652, allocations: 55.94 kB / 0.58 GB, free: 7.727 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.267, allocations: 0.6596 MB / 0.5807 GB, free: 7.062 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005043/0.272, allocations: 1.752 MB / 0.5824 GB, free: 5.305 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004224/0.2763, allocations: 1.91 MB / 0.5843 GB, free: 3.426 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005916/0.2822, allocations: 5.486 MB / 0.5896 GB, free: 13.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.2837, allocations: 1.155 MB / 0.5907 GB, free: 12.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00264/0.2863, allocations: 2.169 MB / 0.5929 GB, free: 10.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.2889, allocations: 2.81 MB / 0.5956 GB, free: 7.703 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005007/0.2894, allocations: 288 kB / 0.5959 GB, free: 7.422 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009186/0.2904, allocations: 423.8 kB / 0.5963 GB, free: 7.008 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007195/0.2911, allocations: 1.007 MB / 0.5973 GB, free: 5.996 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001921/0.293, allocations: 2.457 MB / 0.5997 GB, free: 3.523 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004439/0.2975, allocations: 5.977 MB / 0.6055 GB, free: 13.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2975, allocations: 0 / 0.6055 GB, free: 13.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.2975, allocations: 4 kB / 0.6055 GB, free: 13.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.153e-05/0.2976, allocations: 0 / 0.6055 GB, free: 13.52 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.02818/0.3258, allocations: 9.158 MB / 0.6145 GB, free: 4.266 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3258, allocations: 12.03 kB / 0.6145 GB, free: 4.254 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02483/0.3507, allocations: 4.009 MB / 0.6184 GB, free: 240 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004872/0.3556, allocations: 2.647 MB / 0.621 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008096/0.3564, allocations: 0.965 MB / 0.6219 GB, free: 12.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006641/0.3571, allocations: 347.9 kB / 0.6222 GB, free: 12.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008767/0.3659, allocations: 4.723 MB / 0.6269 GB, free: 7.312 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.383e-05/0.3659, allocations: 3.938 kB / 0.6269 GB, free: 7.309 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003548/0.3663, allocations: 140 kB / 0.627 GB, free: 7.172 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/0.3664, allocations: 88 kB / 0.6271 GB, free: 7.086 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008349/0.3747, allocations: 4.24 MB / 0.6312 GB, free: 2.84 MB / 442.7 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.02925/0.404, allocations: 18.32 MB / 0.6491 GB, free: 15.34 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/0.416, allocations: 4.99 MB / 0.654 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005454/0.4215, allocations: 2.779 MB / 0.6567 GB, free: 7.477 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/0.4219, allocations: 66.83 kB / 0.6568 GB, free: 7.414 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005973/0.4279, allocations: 3.175 MB / 0.6599 GB, free: 4.199 MB / 474.7 MB Notification: Performance of pre-optimization done (n=382): time 6.793e-06/0.4279, allocations: 3.938 kB / 0.6599 GB, free: 4.195 MB / 474.7 MB Notification: Performance of matching and sorting (n=382): time 0.5063/0.9343, allocations: 68.2 MB / 0.7265 GB, free: 80.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.9343, allocations: 141.8 kB / 0.7266 GB, free: 80.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/0.9377, allocations: 3.231 MB / 0.7297 GB, free: 77.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006399/0.9384, allocations: 85.7 kB / 0.7298 GB, free: 77.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008697/0.9393, allocations: 1.978 MB / 0.7318 GB, free: 75.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009692/0.9402, allocations: 1.307 MB / 0.733 GB, free: 74.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/0.9414, allocations: 0.6703 MB / 0.7337 GB, free: 73.65 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.663e-05/0.9415, allocations: 305.1 kB / 0.734 GB, free: 73.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004827/0.9463, allocations: 2.581 MB / 0.7365 GB, free: 70.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005015/0.9513, allocations: 3.205 MB / 0.7396 GB, free: 67.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0648/1.016, allocations: 18.75 MB / 0.7579 GB, free: 48.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.069e-05/1.016, allocations: 4 kB / 0.7579 GB, free: 48.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05237/1.069, allocations: 16.93 MB / 0.7745 GB, free: 31.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.215e-05/1.069, allocations: 67.39 kB / 0.7745 GB, free: 31.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.749e-05/1.069, allocations: 16.88 kB / 0.7746 GB, free: 31.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0242/1.093, allocations: 7.233 MB / 0.7816 GB, free: 24.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003075/1.096, allocations: 0.6631 MB / 0.7823 GB, free: 23.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0747/1.171, allocations: 31.03 MB / 0.8126 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/1.176, allocations: 0.6134 MB / 0.8132 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005356/1.177, allocations: 148 kB / 0.8133 GB, free: 7.422 MB / 0.4948 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.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 (398): * Single equations (assignments): 395 * 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,45)} Notification: Performance of prepare postOptimizeDAE: time 0.001527/1.179, allocations: 0.6676 MB / 0.814 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000768/1.179, allocations: 462.2 kB / 0.8144 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05685/1.236, allocations: 16.84 MB / 0.8308 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.786e-05/1.236, allocations: 43.92 kB / 0.8309 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-05/1.236, allocations: 28 kB / 0.8309 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.983e-05/1.236, allocations: 19.94 kB / 0.8309 GB, free: 5.285 MB / 0.5105 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.06284/1.299, allocations: 21.83 MB / 0.8522 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/1.299, allocations: 0 / 0.8522 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/1.302, allocations: 391.5 kB / 0.8526 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02573/1.327, allocations: 7.37 MB / 0.8598 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007696/1.328, allocations: 75.98 kB / 0.8599 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0748/1.403, allocations: 28.94 MB / 0.8882 GB, free: 10.29 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.403, allocations: 3.938 kB / 0.8882 GB, free: 10.28 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5543/1.957, allocations: 124.6 MB / 1.01 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008432/1.958, allocations: 0.5631 MB / 1.01 GB, free: 103.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006302/1.959, allocations: 64 kB / 1.01 GB, free: 103.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003916/1.963, allocations: 383.5 kB / 1.011 GB, free: 103 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002711/1.965, allocations: 0.7607 MB / 1.012 GB, free: 102.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002826/1.966, allocations: 91.98 kB / 1.012 GB, free: 102.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00226/1.968, allocations: 2.121 MB / 1.014 GB, free: 100.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.968, allocations: 0 / 1.014 GB, free: 100.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005799/1.974, allocations: 2.47 MB / 1.016 GB, free: 97.59 MB / 0.573 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,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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004574/1.974, allocations: 194.7 kB / 1.016 GB, free: 97.39 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02276/1.997, allocations: 9.117 MB / 1.025 GB, free: 88.22 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.997, allocations: 3.562 kB / 1.025 GB, free: 88.22 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0181/2.015, allocations: 6.176 MB / 1.031 GB, free: 82 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/2.019, allocations: 390.6 kB / 1.032 GB, free: 81.61 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02934/2.048, allocations: 14.65 MB / 1.046 GB, free: 66.87 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002746/2.051, allocations: 2.587 MB / 1.048 GB, free: 64.24 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001902/2.053, allocations: 379.1 kB / 1.049 GB, free: 63.87 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/2.054, allocations: 235.4 kB / 1.049 GB, free: 63.64 MB / 0.573 GB Notification: Performance of SimCode: time 5.71e-07/2.054, allocations: 0 / 1.049 GB, free: 63.64 MB / 0.573 GB Notification: Performance of Templates: time 0.3406/2.395, allocations: 123.6 MB / 1.17 GB, free: 140.2 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)