Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 221.5 MB / 229.6 MB, free: 3.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009467/0.0009468, allocations: 86.23 kB / 280.5 MB, free: 1.145 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5139/0.5139, allocations: 78.93 MB / 410.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.154e-05/2.157e-05, allocations: 4 kB / 485.9 MB, free: 3.273 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3518, allocations: 69.51 MB / 0.5424 GB, free: 21.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4797, allocations: 97.79 MB / 0.6379 GB, free: 5.996 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.48, allocations: 75.95 kB / 0.638 GB, free: 5.922 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4524/0.9324, allocations: 60.74 MB / 0.6973 GB, free: 97.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.9324, allocations: 0 / 0.6973 GB, free: 97.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001236/0.9326, allocations: 46.34 kB / 0.6973 GB, free: 97.98 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01191/0.9445, allocations: 3.734 MB / 0.701 GB, free: 96.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.9446, allocations: 6.812 kB / 0.701 GB, free: 96.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.9549, allocations: 1.571 MB / 0.7025 GB, free: 96.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003473/0.9584, allocations: 1.45 MB / 0.704 GB, free: 96.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005152/0.959, allocations: 0.6135 MB / 0.7046 GB, free: 95.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004985/0.9595, allocations: 115.4 kB / 0.7047 GB, free: 95.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003363/0.9628, allocations: 2.082 MB / 0.7067 GB, free: 95.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003448/0.9663, allocations: 2.138 MB / 0.7088 GB, free: 94.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.9664, allocations: 3.656 kB / 0.7088 GB, free: 94.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/0.9666, allocations: 0 / 0.7088 GB, free: 94.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/0.9666, allocations: 49.84 kB / 0.7088 GB, free: 94.29 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01623/0.9828, allocations: 9.285 MB / 0.7179 GB, free: 88.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008713/0.9916, allocations: 3.949 MB / 0.7218 GB, free: 85.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002175/0.9938, allocations: 1.37 MB / 0.7231 GB, free: 83.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/0.9941, allocations: 45.73 kB / 0.7231 GB, free: 83.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.9941, allocations: 52.56 kB / 0.7232 GB, free: 83.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 5.461e-06/0.9941, allocations: 0 / 0.7232 GB, free: 83.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=227): time 0.03316/1.027, allocations: 11.9 MB / 0.7348 GB, free: 71.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/1.027, allocations: 136.7 kB / 0.7349 GB, free: 71.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/1.03, allocations: 1.483 MB / 0.7364 GB, free: 70.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000643/1.03, allocations: 25.7 kB / 0.7364 GB, free: 70.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006201/1.031, allocations: 1.12 MB / 0.7375 GB, free: 69.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009075/1.032, allocations: 0.7551 MB / 0.7382 GB, free: 68.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/1.032, allocations: 0 / 0.7382 GB, free: 68.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/1.032, allocations: 386.2 kB / 0.7386 GB, free: 67.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/1.034, allocations: 1.11 MB / 0.7397 GB, free: 66.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/1.036, allocations: 1.4 MB / 0.7411 GB, free: 65.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/1.037, allocations: 1.217 MB / 0.7423 GB, free: 64.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/1.037, allocations: 0 / 0.7423 GB, free: 64.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03382/1.071, allocations: 12 MB / 0.754 GB, free: 52.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005189/1.072, allocations: 2.738 MB / 0.7566 GB, free: 49.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/1.072, allocations: 4 kB / 0.7567 GB, free: 49.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01556/1.087, allocations: 4.963 MB / 0.7615 GB, free: 44.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/1.089, allocations: 319.5 kB / 0.7618 GB, free: 43.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03617/1.125, allocations: 17.59 MB / 0.779 GB, free: 26.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004175/1.129, allocations: 449.8 kB / 0.7794 GB, free: 25.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003869/1.13, allocations: 71.98 kB / 0.7795 GB, free: 25.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/1.13, allocations: 4 kB / 0.7795 GB, free: 25.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03316/1.163, allocations: 11.7 MB / 0.7909 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.149e-05/1.163, allocations: 11.94 kB / 0.7909 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01505/1.178, allocations: 4.957 MB / 0.7958 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/1.18, allocations: 311.6 kB / 0.7961 GB, free: 8.746 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03736/1.217, allocations: 17.61 MB / 0.8133 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004094/1.221, allocations: 414.1 kB / 0.8136 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006561/1.222, allocations: 79.97 kB / 0.8137 GB, free: 6.531 MB / 0.4948 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 183 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.0007791/1.223, allocations: 141.5 kB / 0.8139 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008499/1.224, allocations: 268.6 kB / 0.8141 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03841/1.262, allocations: 12.17 MB / 0.826 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.249e-05/1.262, allocations: 20 kB / 0.826 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.003e-05/1.262, allocations: 20 kB / 0.826 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.646e-05/1.262, allocations: 15.95 kB / 0.8261 GB, free: 9.863 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.04368/1.306, allocations: 15.46 MB / 0.8411 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/1.306, allocations: 7.922 kB / 0.8412 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/1.308, allocations: 243.7 kB / 0.8414 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01545/1.323, allocations: 4.827 MB / 0.8461 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007039/1.324, allocations: 19.94 kB / 0.8461 GB, free: 5.207 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0358/1.36, allocations: 15.16 MB / 0.8609 GB, free: 5.926 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/1.36, allocations: 8 kB / 0.8609 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04159/1.401, allocations: 14.06 MB / 0.8747 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/1.403, allocations: 373.1 kB / 0.875 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007027/1.404, allocations: 8 kB / 0.875 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002998/1.407, allocations: 327.7 kB / 0.8753 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001939/1.408, allocations: 0.5446 MB / 0.8759 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002038/1.409, allocations: 56 kB / 0.8759 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001837/1.411, allocations: 1.118 MB / 0.877 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.411, allocations: 0 / 0.877 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005502/1.416, allocations: 1.536 MB / 0.8785 GB, free: 3.805 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * 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.0004734/1.417, allocations: 142.3 kB / 0.8787 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02712/1.444, allocations: 9.067 MB / 0.8875 GB, free: 10.56 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.444, allocations: 0 / 0.8875 GB, free: 10.56 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01232/1.456, allocations: 3.803 MB / 0.8912 GB, free: 6.742 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/1.458, allocations: 148.2 kB / 0.8914 GB, free: 6.594 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008072/1.466, allocations: 3.819 MB / 0.8951 GB, free: 2.727 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/1.468, allocations: 1.786 MB / 0.8968 GB, free: 0.9023 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001886/1.47, allocations: 356.5 kB / 0.8972 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/1.47, allocations: 99.42 kB / 0.8973 GB, free: 460 kB / 0.573 GB Notification: Performance of SimCode: time 8.91e-07/1.47, allocations: 0 / 0.8973 GB, free: 460 kB / 0.573 GB Notification: Performance of Templates: time 0.397/1.867, allocations: 69.32 MB / 0.965 GB, free: 142.9 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)