Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.00121/0.00121, allocations: 172.5 kB / 7.647 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.343/1.343, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0008961/0.0008961, allocations: 98.47 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.449/0.449, allocations: 78.12 MB / 409.4 MB, free: 6.488 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.431e-05/1.441e-05, allocations: 7.938 kB / 485 MB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 69.35 MB / 0.5413 GB, free: 6.977 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3901/0.5234, allocations: 97.2 MB / 0.6362 GB, free: 2.582 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.5237, allocations: 75.95 kB / 0.6363 GB, free: 2.508 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1511/0.6748, allocations: 59.87 MB / 0.6948 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6748, allocations: 1.094 kB / 0.6948 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001204/0.675, allocations: 63.81 kB / 0.6949 GB, free: 6.453 MB / 0.4948 GB 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.01106/0.686, allocations: 3.722 MB / 0.6985 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.6861, allocations: 16.02 kB / 0.6985 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009542/0.6956, allocations: 1.565 MB / 0.7 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.6987, allocations: 1.448 MB / 0.7014 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006229/0.6994, allocations: 0.6134 MB / 0.702 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005566/0.6999, allocations: 120 kB / 0.7022 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004053/0.704, allocations: 2.077 MB / 0.7042 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004172/0.7082, allocations: 2.134 MB / 0.7063 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.7082, allocations: 0 / 0.7063 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002305/0.7085, allocations: 3.953 kB / 0.7063 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/0.7085, allocations: 48 kB / 0.7063 GB, free: 10.46 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 preOpt removeSimpleEquations (simulation): time 0.0172/0.7257, allocations: 9.281 MB / 0.7154 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009401/0.7351, allocations: 3.95 MB / 0.7192 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/0.7373, allocations: 1.371 MB / 0.7206 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.7376, allocations: 45.88 kB / 0.7206 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.7377, allocations: 56.56 kB / 0.7207 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=227): time 5.31e-06/0.7377, allocations: 0 / 0.7207 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=227): time 0.038/0.7757, allocations: 11.91 MB / 0.7323 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.7758, allocations: 124.8 kB / 0.7324 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/0.7786, allocations: 1.487 MB / 0.7339 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005409/0.7792, allocations: 26.27 kB / 0.7339 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008823/0.7801, allocations: 1.12 MB / 0.735 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001144/0.7812, allocations: 0.7542 MB / 0.7357 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/0.7816, allocations: 4 kB / 0.7357 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002142/0.7819, allocations: 386.1 kB / 0.7361 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.784, allocations: 1.11 MB / 0.7372 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.7862, allocations: 1.393 MB / 0.7385 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.7884, allocations: 1.221 MB / 0.7397 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.7884, allocations: 4 kB / 0.7397 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03828/0.8267, allocations: 12.01 MB / 0.7515 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009836/0.8277, allocations: 2.73 MB / 0.7541 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/0.8278, allocations: 8 kB / 0.7541 GB, free: 8.516 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01649/0.8443, allocations: 4.957 MB / 0.759 GB, free: 3.555 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.846, allocations: 316.2 kB / 0.7593 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3096/1.156, allocations: 17.6 MB / 0.7765 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003529/1.159, allocations: 444.1 kB / 0.7769 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/1.159, allocations: 73.38 kB / 0.777 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.159, allocations: 9.406 kB / 0.777 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03497/1.194, allocations: 11.69 MB / 0.7884 GB, free: 115 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-05/1.195, allocations: 9.672 kB / 0.7884 GB, free: 115 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01654/1.211, allocations: 4.958 MB / 0.7932 GB, free: 115 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/1.213, allocations: 308.6 kB / 0.7935 GB, free: 115 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03932/1.252, allocations: 17.6 MB / 0.8107 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003559/1.256, allocations: 418.9 kB / 0.8111 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003062/1.256, allocations: 79.53 kB / 0.8112 GB, free: 111.5 MB / 0.5573 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.0006437/1.257, allocations: 145.8 kB / 0.8113 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005325/1.257, allocations: 265.6 kB / 0.8116 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0351/1.292, allocations: 12.18 MB / 0.8235 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/1.292, allocations: 21.03 kB / 0.8235 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.9e-05/1.292, allocations: 21.42 kB / 0.8235 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.097e-05/1.293, allocations: 10.92 kB / 0.8235 GB, free: 109 MB / 0.5573 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.03913/1.332, allocations: 15.46 MB / 0.8386 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/1.332, allocations: 5.016 kB / 0.8386 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/1.333, allocations: 250.2 kB / 0.8389 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01425/1.348, allocations: 4.822 MB / 0.8436 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000708/1.348, allocations: 11.23 kB / 0.8436 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03305/1.381, allocations: 15.18 MB / 0.8584 GB, free: 96.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.381, allocations: 4 kB / 0.8584 GB, free: 96.54 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04015/1.422, allocations: 14.07 MB / 0.8722 GB, free: 85.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/1.423, allocations: 373.3 kB / 0.8725 GB, free: 84.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001147/1.424, allocations: 4 kB / 0.8725 GB, free: 84.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003407/1.427, allocations: 328.5 kB / 0.8728 GB, free: 84.52 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002014/1.429, allocations: 0.5491 MB / 0.8734 GB, free: 84.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003871/1.43, allocations: 52 kB / 0.8734 GB, free: 84.18 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001904/1.432, allocations: 1.116 MB / 0.8745 GB, free: 83.15 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.41e-07/1.432, allocations: 1.781 kB / 0.8745 GB, free: 83.15 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005142/1.437, allocations: 1.54 MB / 0.876 GB, free: 81.68 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.0003705/1.437, allocations: 148 kB / 0.8761 GB, free: 81.55 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02316/1.46, allocations: 9.059 MB / 0.885 GB, free: 73.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.461, allocations: 0.5625 kB / 0.885 GB, free: 73.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01046/1.471, allocations: 3.81 MB / 0.8887 GB, free: 70.15 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/1.473, allocations: 150.7 kB / 0.8889 GB, free: 70.01 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006465/1.479, allocations: 3.804 MB / 0.8926 GB, free: 66.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009077/1.48, allocations: 1.791 MB / 0.8943 GB, free: 65.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001509/1.481, allocations: 344.5 kB / 0.8946 GB, free: 64.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/1.482, allocations: 106.7 kB / 0.8948 GB, free: 64.84 MB / 0.5573 GB Notification: Performance of SimCode: time 7.61e-07/1.482, allocations: 0 / 0.8948 GB, free: 64.84 MB / 0.5573 GB Notification: Performance of Templates: time 0.1036/1.585, allocations: 69.33 MB / 0.9625 GB, free: 3.273 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)