Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, 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.385/1.385, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0007954/0.0007951, allocations: 94.88 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.7124/0.7124, allocations: 78.94 MB / 410.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.583e-05, allocations: 0 / 485.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.184, allocations: 69.52 MB / 0.5424 GB, free: 5.887 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4993/0.6834, allocations: 98.92 MB / 0.639 GB, free: 15.18 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.6836, allocations: 79.95 kB / 0.6391 GB, free: 15.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1569/0.8406, allocations: 61.67 MB / 0.6993 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8406, allocations: 0 / 0.6993 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001222/0.8407, allocations: 55.94 kB / 0.6994 GB, free: 1.258 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: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.01128/0.852, allocations: 3.765 MB / 0.7031 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.8521, allocations: 12.03 kB / 0.7031 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009915/0.862, allocations: 1.569 MB / 0.7046 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/0.8654, allocations: 1.48 MB / 0.7061 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006233/0.866, allocations: 0.6084 MB / 0.7066 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/0.8664, allocations: 116 kB / 0.7068 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003779/0.8702, allocations: 2.082 MB / 0.7088 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/0.8741, allocations: 2.158 MB / 0.7109 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.8741, allocations: 0 / 0.7109 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/0.8743, allocations: 0 / 0.7109 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.901e-05/0.8744, allocations: 51.95 kB / 0.7109 GB, free: 5.176 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.01769/0.8921, allocations: 9.357 MB / 0.7201 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009588/0.9017, allocations: 3.967 MB / 0.724 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00234/0.904, allocations: 1.38 MB / 0.7253 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/0.9043, allocations: 41.95 kB / 0.7253 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.9044, allocations: 64.5 kB / 0.7254 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=229): time 3.367e-06/0.9044, allocations: 0 / 0.7254 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of matching and sorting (n=229): time 0.03787/0.9423, allocations: 11.93 MB / 0.7371 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.937e-05/0.9424, allocations: 125.4 kB / 0.7372 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/0.945, allocations: 1.519 MB / 0.7387 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006309/0.9457, allocations: 25.7 kB / 0.7387 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009107/0.9466, allocations: 1.132 MB / 0.7398 GB, free: 7.027 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008987/0.9475, allocations: 0.7658 MB / 0.7405 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.9477, allocations: 0 / 0.7405 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.9479, allocations: 387.3 kB / 0.7409 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.9498, allocations: 1.117 MB / 0.742 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.9519, allocations: 1.416 MB / 0.7434 GB, free: 3.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.9539, allocations: 1.231 MB / 0.7446 GB, free: 2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.9539, allocations: 4 kB / 0.7446 GB, free: 1.996 MB / 0.5417 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03744/0.9914, allocations: 12.03 MB / 0.7563 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001337/0.9928, allocations: 2.738 MB / 0.759 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.782e-05/0.9928, allocations: 8 kB / 0.759 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3247/1.318, allocations: 4.963 MB / 0.7639 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/1.319, allocations: 338.1 kB / 0.7642 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0371/1.357, allocations: 17.53 MB / 0.7813 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003645/1.36, allocations: 443.5 kB / 0.7817 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/1.361, allocations: 78.84 kB / 0.7818 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/1.361, allocations: 3.031 kB / 0.7818 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03736/1.398, allocations: 11.72 MB / 0.7933 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.166e-05/1.398, allocations: 9.781 kB / 0.7933 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01746/1.415, allocations: 4.971 MB / 0.7981 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/1.417, allocations: 323.3 kB / 0.7984 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03899/1.456, allocations: 17.54 MB / 0.8156 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003764/1.46, allocations: 423 kB / 0.816 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003062/1.461, allocations: 78.62 kB / 0.816 GB, free: 106.8 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.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 (188): * Single equations (assignments): 187 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007328/1.461, allocations: 153.2 kB / 0.8162 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005318/1.462, allocations: 278.6 kB / 0.8165 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03385/1.496, allocations: 12.2 MB / 0.8284 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/1.496, allocations: 24.03 kB / 0.8284 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.162e-05/1.496, allocations: 19.28 kB / 0.8284 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.156e-05/1.496, allocations: 10.92 kB / 0.8284 GB, free: 104.2 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.03768/1.534, allocations: 15.51 MB / 0.8436 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/1.534, allocations: 128 / 0.8436 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/1.535, allocations: 255.4 kB / 0.8438 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01345/1.549, allocations: 4.759 MB / 0.8485 GB, free: 99.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006074/1.549, allocations: 7.969 kB / 0.8485 GB, free: 99.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02992/1.579, allocations: 15.18 MB / 0.8633 GB, free: 89.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.579, allocations: 1.125 kB / 0.8633 GB, free: 89.67 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03702/1.616, allocations: 14.11 MB / 0.8771 GB, free: 78.18 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009359/1.617, allocations: 383 kB / 0.8774 GB, free: 77.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005376/1.618, allocations: 4 kB / 0.8774 GB, free: 77.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002741/1.621, allocations: 327.6 kB / 0.8778 GB, free: 77.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001626/1.622, allocations: 0.5465 MB / 0.8783 GB, free: 77.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/1.622, allocations: 62.92 kB / 0.8784 GB, free: 77.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001352/1.624, allocations: 1.14 MB / 0.8795 GB, free: 76.19 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.624, allocations: 0 / 0.8795 GB, free: 76.19 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004216/1.628, allocations: 1.541 MB / 0.881 GB, free: 74.71 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (148): * Single equations (assignments): 147 * 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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003632/1.628, allocations: 146.2 kB / 0.8811 GB, free: 74.58 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02366/1.652, allocations: 9.128 MB / 0.89 GB, free: 66.44 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.652, allocations: 1.75 kB / 0.89 GB, free: 66.44 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01087/1.663, allocations: 3.798 MB / 0.8937 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/1.665, allocations: 148.7 kB / 0.8939 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006533/1.671, allocations: 3.974 MB / 0.8978 GB, free: 59.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009794/1.672, allocations: 1.797 MB / 0.8995 GB, free: 57.97 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001537/1.674, allocations: 362 kB / 0.8999 GB, free: 57.74 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/1.674, allocations: 99.33 kB / 0.9 GB, free: 57.65 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/1.674, allocations: 4 kB / 0.9 GB, free: 57.64 MB / 0.5573 GB Notification: Performance of Templates: time 0.08678/1.761, allocations: 69.65 MB / 0.968 GB, free: 11.75 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)