Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007635/0.0007633, allocations: 93.72 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06569/0.06569, allocations: 12.59 MB / 321.9 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2843/0.2843, allocations: 78.06 MB / 450.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.288e-05/1.29e-05, allocations: 0 / 0.5147 GB, free: 29.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1137, allocations: 69.32 MB / 0.5824 GB, free: 8.402 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4455/0.5593, allocations: 98.79 MB / 0.6789 GB, free: 9.164 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.5595, allocations: 75.77 kB / 0.6789 GB, free: 9.125 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1422/0.7017, allocations: 58.13 MB / 0.7357 GB, free: 9.582 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.7018, allocations: 4 kB / 0.7357 GB, free: 9.578 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001307/0.7019, allocations: 48 kB / 0.7358 GB, free: 9.531 MB / 474.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.01158/0.7135, allocations: 3.735 MB / 0.7394 GB, free: 6.055 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.7136, allocations: 12.02 kB / 0.7394 GB, free: 6.043 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.7236, allocations: 1.569 MB / 0.7409 GB, free: 4.469 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/0.7271, allocations: 1.46 MB / 0.7424 GB, free: 2.941 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006221/0.7278, allocations: 0.6122 MB / 0.743 GB, free: 2.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004188/0.7282, allocations: 116 kB / 0.7431 GB, free: 2.117 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003791/0.732, allocations: 2.077 MB / 0.7451 GB, free: 40 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003707/0.7357, allocations: 2.138 MB / 0.7472 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.7357, allocations: 3.984 kB / 0.7472 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.736, allocations: 4 kB / 0.7472 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/0.736, allocations: 48 kB / 0.7473 GB, free: 13.83 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.01737/0.7534, allocations: 9.281 MB / 0.7563 GB, free: 4.137 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009334/0.7627, allocations: 3.951 MB / 0.7602 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002335/0.7651, allocations: 1.37 MB / 0.7615 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002596/0.7654, allocations: 33.97 kB / 0.7615 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.7654, allocations: 56.56 kB / 0.7616 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=227): time 3.887e-06/0.7654, allocations: 0 / 0.7616 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=227): time 0.03675/0.8022, allocations: 11.91 MB / 0.7732 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.8023, allocations: 128.8 kB / 0.7733 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/0.8047, allocations: 1.491 MB / 0.7748 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005747/0.8053, allocations: 29.7 kB / 0.7748 GB, free: 0.9922 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008085/0.8061, allocations: 1.128 MB / 0.7759 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008865/0.807, allocations: 0.7504 MB / 0.7767 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.8072, allocations: 0 / 0.7767 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.8074, allocations: 386.2 kB / 0.777 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.8092, allocations: 1.106 MB / 0.7781 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.8112, allocations: 1.408 MB / 0.7795 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/0.8131, allocations: 1.213 MB / 0.7807 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.8131, allocations: 0 / 0.7807 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03654/0.8497, allocations: 12.01 MB / 0.7924 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009218/0.8506, allocations: 2.73 MB / 0.7951 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.8507, allocations: 11.95 kB / 0.7951 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01669/0.8674, allocations: 4.957 MB / 0.7999 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.8691, allocations: 315.5 kB / 0.8002 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03901/0.9082, allocations: 17.6 MB / 0.8174 GB, free: 4.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00372/0.9119, allocations: 445.8 kB / 0.8178 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003545/0.9123, allocations: 75.98 kB / 0.8179 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.9123, allocations: 0 / 0.8179 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0367/0.949, allocations: 11.71 MB / 0.8293 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-05/0.9491, allocations: 8 kB / 0.8293 GB, free: 8.609 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01639/0.9655, allocations: 4.957 MB / 0.8342 GB, free: 3.648 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.9672, allocations: 311.5 kB / 0.8345 GB, free: 3.344 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03866/1.006, allocations: 17.61 MB / 0.8517 GB, free: 1.594 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0035/1.009, allocations: 418.1 kB / 0.8521 GB, free: 1.184 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/1.01, allocations: 75.98 kB / 0.8522 GB, free: 1.109 MB / 0.573 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.0006274/1.01, allocations: 149.7 kB / 0.8523 GB, free: 0.957 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004562/1.011, allocations: 268.7 kB / 0.8526 GB, free: 0.6914 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3078/1.319, allocations: 12.17 MB / 0.8644 GB, free: 152.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/1.319, allocations: 21.09 kB / 0.8645 GB, free: 152.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.873e-05/1.319, allocations: 18.44 kB / 0.8645 GB, free: 152.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-05/1.319, allocations: 15.42 kB / 0.8645 GB, free: 152.9 MB / 0.573 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.04266/1.361, allocations: 15.46 MB / 0.8796 GB, free: 152 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.362, allocations: 3.625 kB / 0.8796 GB, free: 152 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/1.363, allocations: 246.9 kB / 0.8798 GB, free: 152 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01339/1.377, allocations: 4.825 MB / 0.8845 GB, free: 151.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004754/1.377, allocations: 17.95 kB / 0.8846 GB, free: 151.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03022/1.407, allocations: 15.17 MB / 0.8994 GB, free: 150.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.407, allocations: 0 / 0.8994 GB, free: 150.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03561/1.443, allocations: 14.07 MB / 0.9131 GB, free: 147.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008857/1.444, allocations: 377.3 kB / 0.9135 GB, free: 147 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006654/1.445, allocations: 3.969 kB / 0.9135 GB, free: 147 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002833/1.447, allocations: 329.4 kB / 0.9138 GB, free: 147 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001768/1.449, allocations: 0.5413 MB / 0.9143 GB, free: 146.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/1.449, allocations: 55.19 kB / 0.9144 GB, free: 146.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001529/1.451, allocations: 1.124 MB / 0.9155 GB, free: 146.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.451, allocations: 0 / 0.9155 GB, free: 146.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00468/1.456, allocations: 1.54 MB / 0.917 GB, free: 144.9 MB / 0.573 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.0004186/1.456, allocations: 144 kB / 0.9171 GB, free: 144.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02293/1.479, allocations: 9.06 MB / 0.926 GB, free: 136.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.479, allocations: 0 / 0.926 GB, free: 136.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01076/1.49, allocations: 3.802 MB / 0.9297 GB, free: 133.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/1.491, allocations: 151.7 kB / 0.9298 GB, free: 133.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006595/1.498, allocations: 3.819 MB / 0.9335 GB, free: 129.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009737/1.499, allocations: 1.791 MB / 0.9353 GB, free: 128.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001515/1.501, allocations: 349.6 kB / 0.9356 GB, free: 128.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/1.501, allocations: 106 kB / 0.9357 GB, free: 128.1 MB / 0.573 GB Notification: Performance of SimCode: time 8.22e-07/1.501, allocations: 3.938 kB / 0.9357 GB, free: 128.1 MB / 0.573 GB Notification: Performance of Templates: time 0.08375/1.585, allocations: 69.35 MB / 1.003 GB, free: 66.25 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)