Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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/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/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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001206, allocations: 173.8 kB / 7.647 MB, free: 1.422 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.569/1.569, allocations: 205.3 MB / 213.4 MB, free: 13.7 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.001294/0.001294, allocations: 89.34 kB / 261.4 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09453/0.09453, allocations: 12.19 MB / 321.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3363/0.3363, allocations: 78.06 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.797e-05/1.799e-05, allocations: 0 / 0.5142 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1406, allocations: 69.25 MB / 0.5819 GB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.463/0.6036, allocations: 99.41 MB / 0.6789 GB, free: 9.121 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.6039, allocations: 76.14 kB / 0.679 GB, free: 9.082 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07868/0.6826, allocations: 30.12 MB / 0.7084 GB, free: 412 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6827, allocations: 0 / 0.7084 GB, free: 412 kB / 442.7 MB Notification: Performance of Transformations before backend: time 6.789e-05/0.6828, allocations: 20 kB / 0.7084 GB, free: 392 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004459/0.6872, allocations: 1.702 MB / 0.7101 GB, free: 14.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.6873, allocations: 11.86 kB / 0.7101 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/0.6905, allocations: 0.5658 MB / 0.7107 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.6918, allocations: 0.759 MB / 0.7114 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.6921, allocations: 236.2 kB / 0.7116 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.6922, allocations: 47.75 kB / 0.7117 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001376/0.6936, allocations: 0.7969 MB / 0.7125 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.6951, allocations: 0.828 MB / 0.7133 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.6951, allocations: 4 kB / 0.7133 GB, free: 12.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.411e-05/0.6952, allocations: 3.984 kB / 0.7133 GB, free: 12.19 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.6952, allocations: 19.95 kB / 0.7133 GB, free: 12.17 MB / 458.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.006251/0.7015, allocations: 3.654 MB / 0.7169 GB, free: 9.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008349/0.7098, allocations: 2.611 MB / 0.7194 GB, free: 6.879 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.711, allocations: 0.5181 MB / 0.7199 GB, free: 6.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.7111, allocations: 12.03 kB / 0.7199 GB, free: 6.578 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001213/0.7123, allocations: 0.643 MB / 0.7206 GB, free: 6.133 MB / 458.7 MB Notification: Performance of pre-optimization done (n=95): time 7.243e-06/0.7124, allocations: 0 / 0.7206 GB, free: 6.133 MB / 458.7 MB Notification: Performance of matching and sorting (n=95): time 0.01347/0.7258, allocations: 3.938 MB / 0.7244 GB, free: 2.707 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.688e-05/0.726, allocations: 111.6 kB / 0.7245 GB, free: 2.574 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.7276, allocations: 0.8174 MB / 0.7253 GB, free: 1.973 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002859/0.7279, allocations: 25.7 kB / 0.7253 GB, free: 1.941 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/0.7283, allocations: 0.5178 MB / 0.7258 GB, free: 1.656 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004096/0.7287, allocations: 332.6 kB / 0.7262 GB, free: 1.367 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.7288, allocations: 0 / 0.7262 GB, free: 1.367 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.729, allocations: 342.2 kB / 0.7265 GB, free: 1.043 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007327/0.7297, allocations: 433.1 kB / 0.7269 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007441/0.7305, allocations: 0.5595 MB / 0.7274 GB, free: 444 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007461/0.7312, allocations: 484.3 kB / 0.7279 GB, free: 168 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.7313, allocations: 0 / 0.7279 GB, free: 168 kB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01247/0.7437, allocations: 3.955 MB / 0.7318 GB, free: 12.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.723e-05/0.7439, allocations: 59.41 kB / 0.7318 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.7439, allocations: 4 kB / 0.7318 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005705/0.7496, allocations: 1.512 MB / 0.7333 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.7509, allocations: 186.3 kB / 0.7335 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/0.7654, allocations: 6.605 MB / 0.7399 GB, free: 5.285 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/0.7677, allocations: 183.1 kB / 0.7401 GB, free: 5.105 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.7678, allocations: 35.98 kB / 0.7401 GB, free: 5.07 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005191/0.7684, allocations: 151.5 kB / 0.7403 GB, free: 4.91 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01226/0.7806, allocations: 3.938 MB / 0.7441 GB, free: 0.957 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004201/0.7811, allocations: 122.5 kB / 0.7442 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/0.7931, allocations: 4.035 MB / 0.7482 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.7932, allocations: 8 kB / 0.7482 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.7932, allocations: 12 kB / 0.7482 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.827e-05/0.7932, allocations: 7.938 kB / 0.7482 GB, free: 12.75 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 postOpt removeSimpleEquations (simulation): time 0.01406/0.8073, allocations: 5.497 MB / 0.7536 GB, free: 7.156 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.8073, allocations: 4 kB / 0.7536 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007017/0.808, allocations: 99.83 kB / 0.7537 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005074/0.8131, allocations: 1.489 MB / 0.7551 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/0.8133, allocations: 8 kB / 0.7551 GB, free: 5.551 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/0.8276, allocations: 7.542 MB / 0.7625 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.8277, allocations: 0 / 0.7625 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/0.8419, allocations: 4.762 MB / 0.7672 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009072/0.8429, allocations: 223.4 kB / 0.7674 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006067/0.8435, allocations: 0 / 0.7674 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.8453, allocations: 127.9 kB / 0.7675 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008802/0.8463, allocations: 197 kB / 0.7677 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/0.8464, allocations: 28 kB / 0.7677 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001645/0.8481, allocations: 0.6216 MB / 0.7683 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8481, allocations: 0 / 0.7683 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002405/0.8505, allocations: 403.3 kB / 0.7687 GB, free: 7.359 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01408/0.8646, allocations: 5.433 MB / 0.774 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005884/0.8706, allocations: 1.988 MB / 0.7759 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.8706, allocations: 4.25 kB / 0.776 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004499/0.8751, allocations: 1.541 MB / 0.7775 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.8765, allocations: 91.73 kB / 0.7775 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/0.8816, allocations: 1.796 MB / 0.7793 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008714/0.8825, allocations: 1.151 MB / 0.7804 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005425/0.8831, allocations: 90.7 kB / 0.7805 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000754/0.8839, allocations: 479.3 kB / 0.781 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of SimCode: time 3.537e-06/0.8839, allocations: 0 / 0.781 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07035/0.9542, allocations: 28.67 MB / 0.809 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.9546, allocations: 146.3 kB / 0.8091 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.856/3.811, allocations: 4.031 kB / 0.8091 GB, free: 13.76 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)