Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.426/1.426, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.000893/0.0008929, allocations: 94.28 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5031/0.5031, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.498e-05/3.517e-05, allocations: 4 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3425, allocations: 69.33 MB / 0.5481 GB, free: 20.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.4634, allocations: 100.9 MB / 0.6466 GB, free: 15.68 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.4637, allocations: 83.94 kB / 0.6467 GB, free: 15.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4957/0.9594, allocations: 70.56 MB / 0.7156 GB, free: 93.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.9594, allocations: 0 / 0.7156 GB, free: 93.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000257/0.9597, allocations: 56 kB / 0.7156 GB, free: 93.39 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.013/0.9727, allocations: 4.09 MB / 0.7196 GB, free: 89.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.9728, allocations: 15.95 kB / 0.7196 GB, free: 89.21 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001034/0.9738, allocations: 299.3 kB / 0.7199 GB, free: 88.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.9839, allocations: 1.603 MB / 0.7215 GB, free: 87.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003942/0.9879, allocations: 1.663 MB / 0.7231 GB, free: 85.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006679/0.9886, allocations: 0.7487 MB / 0.7238 GB, free: 84.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008094/0.9894, allocations: 208 kB / 0.724 GB, free: 84.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005578/0.995, allocations: 2.587 MB / 0.7266 GB, free: 81.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.715e-05/0.9951, allocations: 0 / 0.7266 GB, free: 81.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003661/0.9955, allocations: 83.94 kB / 0.7267 GB, free: 81.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.9955, allocations: 52 kB / 0.7267 GB, free: 81.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004254/0.9998, allocations: 2.34 MB / 0.729 GB, free: 79.35 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.01812/1.018, allocations: 10 MB / 0.7388 GB, free: 68.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009052/1.027, allocations: 4.227 MB / 0.7429 GB, free: 64.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/1.03, allocations: 1.551 MB / 0.7444 GB, free: 63.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004167/1.03, allocations: 41.91 kB / 0.7444 GB, free: 62.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003226/1.033, allocations: 1.815 MB / 0.7462 GB, free: 61.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 5.581e-06/1.033, allocations: 4 kB / 0.7462 GB, free: 61.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.03574/1.069, allocations: 12.58 MB / 0.7585 GB, free: 48.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/1.069, allocations: 180.2 kB / 0.7587 GB, free: 48.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/1.072, allocations: 1.902 MB / 0.7605 GB, free: 46.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007135/1.073, allocations: 65.7 kB / 0.7606 GB, free: 46.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006493/1.073, allocations: 1.216 MB / 0.7618 GB, free: 45.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009736/1.074, allocations: 0.8702 MB / 0.7626 GB, free: 44.19 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/1.074, allocations: 44 kB / 0.7627 GB, free: 44.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/1.075, allocations: 407.1 kB / 0.7631 GB, free: 43.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/1.077, allocations: 1.27 MB / 0.7643 GB, free: 42.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/1.079, allocations: 1.586 MB / 0.7659 GB, free: 40.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/1.081, allocations: 1.506 MB / 0.7673 GB, free: 39.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/1.081, allocations: 4 kB / 0.7673 GB, free: 39.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.0363/1.118, allocations: 12.72 MB / 0.7797 GB, free: 26.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.88e-05/1.118, allocations: 118.8 kB / 0.7799 GB, free: 26.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/1.118, allocations: 4 kB / 0.7799 GB, free: 26.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01622/1.134, allocations: 5.35 MB / 0.7851 GB, free: 20.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/1.136, allocations: 415.4 kB / 0.7855 GB, free: 20.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03907/1.175, allocations: 19.25 MB / 0.8043 GB, free: 0.957 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004347/1.18, allocations: 0.5367 MB / 0.8048 GB, free: 428 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004663/1.18, allocations: 91.97 kB / 0.8049 GB, free: 336 kB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.000651/1.181, allocations: 301.2 kB / 0.8052 GB, free: 16 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008392/1.182, allocations: 304.3 kB / 0.8055 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03853/1.22, allocations: 12.94 MB / 0.8181 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-05/1.22, allocations: 28 kB / 0.8181 GB, free: 2.652 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.045e-05/1.22, allocations: 19.98 kB / 0.8182 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-05/1.221, allocations: 19.91 kB / 0.8182 GB, free: 2.613 MB / 0.4948 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.04328/1.264, allocations: 16.53 MB / 0.8343 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/1.264, allocations: 0 / 0.8343 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/1.266, allocations: 247.6 kB / 0.8346 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01543/1.281, allocations: 5.004 MB / 0.8394 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005979/1.282, allocations: 51.98 kB / 0.8395 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0391/1.321, allocations: 19.31 MB / 0.8584 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.321, allocations: 4 kB / 0.8584 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0413/1.362, allocations: 14.93 MB / 0.8729 GB, free: 9.738 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.363, allocations: 428.8 kB / 0.8733 GB, free: 9.297 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004846/1.364, allocations: 48 kB / 0.8734 GB, free: 9.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002997/1.367, allocations: 407.6 kB / 0.8738 GB, free: 8.852 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002028/1.369, allocations: 0.5837 MB / 0.8743 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002183/1.369, allocations: 63.98 kB / 0.8744 GB, free: 8.203 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001991/1.371, allocations: 1.449 MB / 0.8758 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.41e-07/1.371, allocations: 0 / 0.8758 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003123/1.374, allocations: 1.135 MB / 0.8769 GB, free: 5.609 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04125/1.415, allocations: 15.69 MB / 0.8923 GB, free: 5.777 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2716/1.687, allocations: 5.93 MB / 0.898 GB, free: 176.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.687, allocations: 0.5312 kB / 0.898 GB, free: 176.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01281/1.7, allocations: 4.399 MB / 0.9023 GB, free: 176.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/1.702, allocations: 233.2 kB / 0.9026 GB, free: 176.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009372/1.711, allocations: 4.757 MB / 0.9072 GB, free: 174.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/1.712, allocations: 1.881 MB / 0.909 GB, free: 174.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009851/1.713, allocations: 214.2 kB / 0.9092 GB, free: 174.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/1.715, allocations: 1.213 MB / 0.9104 GB, free: 174.1 MB / 0.573 GB Notification: Performance of SimCode: time 1.703e-06/1.715, allocations: 2 kB / 0.9104 GB, free: 174.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/1.821, allocations: 79.81 MB / 0.9884 GB, free: 120.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000129/1.821, allocations: 199.4 kB / 0.9886 GB, free: 120.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.023/6.844, allocations: 0 / 0.9886 GB, free: 120.6 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)