Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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/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.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",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.007185/0.007184, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.4 MB / 221.2 MB, free: 13.84 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.0009372/0.000937, allocations: 90.86 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06314/0.06314, allocations: 12.2 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4165/0.4165, allocations: 78.52 MB / 459.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005199/0.00052, allocations: 21.3 kB / 0.528 GB, free: 35.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.14, allocations: 69.25 MB / 0.5956 GB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.414/0.554, allocations: 100.2 MB / 0.6935 GB, free: 35.04 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.5543, allocations: 83 kB / 0.6936 GB, free: 35.04 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1344/0.6887, allocations: 59.27 MB / 0.7514 GB, free: 24.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.6888, allocations: 0 / 0.7514 GB, free: 24.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001117/0.6889, allocations: 58.03 kB / 0.7515 GB, free: 24.17 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01127/0.7002, allocations: 4.223 MB / 0.7556 GB, free: 21.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.7002, allocations: 11.7 kB / 0.7556 GB, free: 21.91 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008733/0.7011, allocations: 283.4 kB / 0.7559 GB, free: 21.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009818/0.7109, allocations: 1.591 MB / 0.7575 GB, free: 21.24 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003993/0.715, allocations: 1.483 MB / 0.7589 GB, free: 20.45 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004938/0.7155, allocations: 0.6772 MB / 0.7596 GB, free: 19.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004068/0.7159, allocations: 187.7 kB / 0.7597 GB, free: 19.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005101/0.721, allocations: 3.082 MB / 0.7628 GB, free: 19.14 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.7211, allocations: 3.938 kB / 0.7628 GB, free: 19.14 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.7213, allocations: 79.7 kB / 0.7628 GB, free: 19.14 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.7214, allocations: 42.78 kB / 0.7629 GB, free: 19.14 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004969/0.7263, allocations: 2.868 MB / 0.7657 GB, free: 18.7 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01468/0.741, allocations: 9.605 MB / 0.7751 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00983/0.7509, allocations: 4.772 MB / 0.7797 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.7512, allocations: 43.95 kB / 0.7798 GB, free: 12.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.7512, allocations: 58.08 kB / 0.7798 GB, free: 12.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=228): time 3.707e-06/0.7512, allocations: 0 / 0.7798 GB, free: 12.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=228): time 0.0974/0.8487, allocations: 28.57 MB / 0.8077 GB, free: 3.965 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/0.8488, allocations: 124.8 kB / 0.8078 GB, free: 3.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/0.8515, allocations: 1.649 MB / 0.8094 GB, free: 2.156 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005684/0.852, allocations: 69.7 kB / 0.8095 GB, free: 2.082 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008746/0.8529, allocations: 1.129 MB / 0.8106 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008993/0.8538, allocations: 0.7853 MB / 0.8114 GB, free: 148 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.854, allocations: 44 kB / 0.8114 GB, free: 104 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.8542, allocations: 382.2 kB / 0.8118 GB, free: 15.72 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00365/0.8579, allocations: 1.796 MB / 0.8135 GB, free: 13.92 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003804/0.8617, allocations: 2.103 MB / 0.8156 GB, free: 11.71 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003798/0.8655, allocations: 1.913 MB / 0.8175 GB, free: 9.797 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.8655, allocations: 4 kB / 0.8175 GB, free: 9.793 MB / 0.4949 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03989/0.9054, allocations: 14.11 MB / 0.8312 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001148/0.9066, allocations: 2.733 MB / 0.8339 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.9066, allocations: 4 kB / 0.8339 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01966/0.9263, allocations: 6.445 MB / 0.8402 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/0.9282, allocations: 319.5 kB / 0.8405 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06362/0.9918, allocations: 26.45 MB / 0.8664 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004118/0.9959, allocations: 493.8 kB / 0.8668 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006458/0.9966, allocations: 75.98 kB / 0.8669 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.9966, allocations: 0 / 0.8669 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04121/1.038, allocations: 13.8 MB / 0.8804 GB, free: 8.949 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.86e-05/1.038, allocations: 4 kB / 0.8804 GB, free: 8.945 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02113/1.059, allocations: 6.438 MB / 0.8867 GB, free: 2.504 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/1.061, allocations: 307.6 kB / 0.887 GB, free: 2.203 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06607/1.127, allocations: 26.45 MB / 0.9128 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004764/1.132, allocations: 462 kB / 0.9132 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005702/1.133, allocations: 75.98 kB / 0.9133 GB, free: 7.074 MB / 0.5886 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 185 * 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.001693/1.134, allocations: 0.4966 MB / 0.9138 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009461/1.135, allocations: 276.6 kB / 0.914 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3519/1.487, allocations: 14.27 MB / 0.928 GB, free: 169 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-05/1.487, allocations: 21.66 kB / 0.928 GB, free: 169 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.29e-05/1.487, allocations: 19.28 kB / 0.928 GB, free: 169 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001159/1.487, allocations: 12.86 kB / 0.928 GB, free: 169 MB / 0.5886 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04445/1.532, allocations: 17.76 MB / 0.9454 GB, free: 168.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.598e-05/1.532, allocations: 7.266 kB / 0.9454 GB, free: 168.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/1.534, allocations: 251.6 kB / 0.9456 GB, free: 168.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01519/1.549, allocations: 6.052 MB / 0.9515 GB, free: 167.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005278/1.549, allocations: 41.16 kB / 0.9516 GB, free: 167.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04843/1.598, allocations: 22.66 MB / 0.9737 GB, free: 165.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.598, allocations: 0 / 0.9737 GB, free: 165.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04212/1.64, allocations: 16.81 MB / 0.9901 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/1.641, allocations: 378.2 kB / 0.9905 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/1.642, allocations: 40.53 kB / 0.9905 GB, free: 152 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003521/1.646, allocations: 362.4 kB / 0.9909 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001975/1.648, allocations: 0.5495 MB / 0.9914 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001986/1.648, allocations: 66.23 kB / 0.9915 GB, free: 151.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001744/1.65, allocations: 1.267 MB / 0.9927 GB, free: 150.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/1.65, allocations: 0 / 0.9927 GB, free: 150.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004528/1.654, allocations: 1.69 MB / 0.9944 GB, free: 148.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 146 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04214/1.696, allocations: 17.69 MB / 1.012 GB, free: 134.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02818/1.725, allocations: 11.31 MB / 1.023 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.725, allocations: 64 / 1.023 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01203/1.737, allocations: 4.598 MB / 1.027 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/1.739, allocations: 192.7 kB / 1.027 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/1.75, allocations: 11.49 MB / 1.039 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009872/1.751, allocations: 1.789 MB / 1.04 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001039/1.752, allocations: 210.9 kB / 1.041 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/1.753, allocations: 1.066 MB / 1.042 GB, free: 106 MB / 0.5886 GB Notification: Performance of SimCode: time 9.22e-07/1.753, allocations: 4 kB / 1.042 GB, free: 106 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1228/1.876, allocations: 91.3 MB / 1.131 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/1.876, allocations: 217.6 kB / 1.131 GB, free: 15 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.896/6.772, allocations: 0 / 1.131 GB, free: 15 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)