Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI",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.001155/0.001155, allocations: 175.2 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.193/1.193, 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.0008682/0.0008682, allocations: 88.3 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4477/0.4477, allocations: 78.89 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.256e-05, allocations: 0 / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3377, allocations: 69.5 MB / 0.5492 GB, free: 19.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.4574, allocations: 99.68 MB / 0.6465 GB, free: 15.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4577, allocations: 79.95 kB / 0.6466 GB, free: 15.82 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4456/0.9033, allocations: 67.35 MB / 0.7124 GB, free: 96.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.9034, allocations: 0 / 0.7124 GB, free: 96.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001425/0.9035, allocations: 59.94 kB / 0.7125 GB, free: 95.99 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01053/0.9141, allocations: 3.998 MB / 0.7164 GB, free: 91.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.9141, allocations: 11.97 kB / 0.7164 GB, free: 91.9 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005969/0.9147, allocations: 299.1 kB / 0.7167 GB, free: 91.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00907/0.9238, allocations: 1.596 MB / 0.7182 GB, free: 90 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003397/0.9272, allocations: 1.631 MB / 0.7198 GB, free: 88.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005962/0.9279, allocations: 0.6867 MB / 0.7205 GB, free: 87.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007868/0.9287, allocations: 207.9 kB / 0.7207 GB, free: 87.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004358/0.933, allocations: 2.549 MB / 0.7232 GB, free: 84.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.9331, allocations: 0 / 0.7232 GB, free: 84.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/0.9334, allocations: 84 kB / 0.7232 GB, free: 84.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.9334, allocations: 51.94 kB / 0.7233 GB, free: 84.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003706/0.9371, allocations: 2.32 MB / 0.7256 GB, free: 82.21 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.01572/0.9528, allocations: 10 MB / 0.7353 GB, free: 71.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007979/0.9608, allocations: 4.009 MB / 0.7392 GB, free: 67.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002387/0.9633, allocations: 1.526 MB / 0.7407 GB, free: 66.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003607/0.9637, allocations: 42.03 kB / 0.7408 GB, free: 66.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.9637, allocations: 60.56 kB / 0.7408 GB, free: 65.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=241): time 5.912e-06/0.9638, allocations: 7.984 kB / 0.7408 GB, free: 65.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=241): time 0.03468/0.9984, allocations: 12.29 MB / 0.7528 GB, free: 53.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.9986, allocations: 235.6 kB / 0.7531 GB, free: 53.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003341/1.002, allocations: 1.834 MB / 0.7548 GB, free: 51.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006312/1.003, allocations: 65.7 kB / 0.7549 GB, free: 51.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007171/1.003, allocations: 1.208 MB / 0.7561 GB, free: 50.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001422/1.005, allocations: 0.8316 MB / 0.7569 GB, free: 49.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/1.005, allocations: 44 kB / 0.7569 GB, free: 49.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/1.005, allocations: 394.6 kB / 0.7573 GB, free: 48.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002132/1.008, allocations: 1.219 MB / 0.7585 GB, free: 47.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002307/1.01, allocations: 1.531 MB / 0.76 GB, free: 46.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/1.012, allocations: 1.455 MB / 0.7614 GB, free: 44.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/1.012, allocations: 0 / 0.7614 GB, free: 44.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=294) (initialization): time 0.03342/1.046, allocations: 12.43 MB / 0.7736 GB, free: 32.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005076/1.046, allocations: 2.872 MB / 0.7764 GB, free: 28.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/1.046, allocations: 8 kB / 0.7764 GB, free: 28.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01484/1.061, allocations: 5.102 MB / 0.7814 GB, free: 23.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/1.063, allocations: 379.5 kB / 0.7817 GB, free: 23.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03793/1.101, allocations: 17.52 MB / 0.7988 GB, free: 5.805 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004012/1.105, allocations: 0.5173 MB / 0.7993 GB, free: 5.285 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006511/1.106, allocations: 79.98 kB / 0.7994 GB, free: 5.207 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/1.106, allocations: 7.953 kB / 0.7994 GB, free: 5.199 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03528/1.141, allocations: 12.15 MB / 0.8113 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/1.141, allocations: 8 kB / 0.8113 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01627/1.158, allocations: 5.106 MB / 0.8163 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/1.16, allocations: 359.5 kB / 0.8166 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04099/1.201, allocations: 17.52 MB / 0.8337 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003954/1.205, allocations: 497.9 kB / 0.8342 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003634/1.205, allocations: 83.97 kB / 0.8343 GB, free: 1.25 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: 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 order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" 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 (206): * Single equations (assignments): 201 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006891/1.206, allocations: 285.3 kB / 0.8346 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006647/1.206, allocations: 300.3 kB / 0.8348 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03704/1.243, allocations: 12.62 MB / 0.8472 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.644e-05/1.244, allocations: 24 kB / 0.8472 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.167e-05/1.244, allocations: 23.98 kB / 0.8472 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001042/1.244, allocations: 7.969 kB / 0.8472 GB, free: 3.938 MB / 0.5261 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.04483/1.289, allocations: 16.34 MB / 0.8632 GB, free: 3.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/1.289, allocations: 0 / 0.8632 GB, free: 3.457 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/1.291, allocations: 283.6 kB / 0.8634 GB, free: 3.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01556/1.306, allocations: 4.855 MB / 0.8682 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00063/1.307, allocations: 51.98 kB / 0.8682 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03546/1.342, allocations: 15.36 MB / 0.8832 GB, free: 14.75 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.342, allocations: 0 / 0.8832 GB, free: 14.75 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04076/1.383, allocations: 14.55 MB / 0.8974 GB, free: 136 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3218/1.705, allocations: 404.3 kB / 0.8978 GB, free: 171.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001226/1.706, allocations: 46.36 kB / 0.8979 GB, free: 171.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003477/1.71, allocations: 397.9 kB / 0.8983 GB, free: 171.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002233/1.712, allocations: 0.5512 MB / 0.8988 GB, free: 171.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002805/1.712, allocations: 61.92 kB / 0.8988 GB, free: 171.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002658/1.715, allocations: 1.407 MB / 0.9002 GB, free: 171.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.715, allocations: 0.8438 kB / 0.9002 GB, free: 171.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006917/1.722, allocations: 1.758 MB / 0.9019 GB, free: 171.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 159 * 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: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04266/1.765, allocations: 15.32 MB / 0.9169 GB, free: 170.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02456/1.789, allocations: 9.994 MB / 0.9267 GB, free: 169.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.789, allocations: 2.344 kB / 0.9267 GB, free: 169.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01087/1.8, allocations: 4.07 MB / 0.9306 GB, free: 168.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/1.802, allocations: 238.4 kB / 0.9309 GB, free: 168.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009951/1.812, allocations: 4.56 MB / 0.9353 GB, free: 165.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/1.814, allocations: 1.897 MB / 0.9372 GB, free: 164 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002337/1.816, allocations: 452.5 kB / 0.9376 GB, free: 163.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/1.817, allocations: 1.164 MB / 0.9387 GB, free: 162.7 MB / 0.573 GB Notification: Performance of SimCode: time 7.11e-07/1.817, allocations: 4 kB / 0.9387 GB, free: 162.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1393/1.957, allocations: 99.7 MB / 1.036 GB, free: 74.06 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/1.957, allocations: 187.1 kB / 1.036 GB, free: 73.84 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.501/7.458, allocations: 0.8438 kB / 1.036 GB, free: 73.84 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)