Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.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.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",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.001081/0.001082, allocations: 172.5 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.632/1.632, allocations: 205.3 MB / 213.4 MB, free: 13.78 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.001045/0.001045, allocations: 94 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08567/0.08567, allocations: 12.2 MB / 321.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2967/0.2967, allocations: 78.06 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.263e-05, allocations: 4.859 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 69.25 MB / 0.5819 GB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4816/0.5884, allocations: 99.27 MB / 0.6788 GB, free: 9.188 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.5887, allocations: 82.58 kB / 0.6789 GB, free: 9.145 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08543/0.6741, allocations: 33.8 MB / 0.7119 GB, free: 13.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6741, allocations: 0 / 0.7119 GB, free: 13.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.297e-05/0.6742, allocations: 27.94 kB / 0.7119 GB, free: 13.41 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.003967/0.6782, allocations: 1.691 MB / 0.7136 GB, free: 11.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.6782, allocations: 15.97 kB / 0.7136 GB, free: 11.76 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003132/0.6814, allocations: 0.5655 MB / 0.7141 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.6826, allocations: 0.7873 MB / 0.7149 GB, free: 10.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.6829, allocations: 198.5 kB / 0.7151 GB, free: 10.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.683, allocations: 48 kB / 0.7151 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001251/0.6843, allocations: 0.8035 MB / 0.7159 GB, free: 9.805 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.6856, allocations: 0.8327 MB / 0.7167 GB, free: 9.223 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.6856, allocations: 0 / 0.7167 GB, free: 9.223 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.008e-05/0.6857, allocations: 4 kB / 0.7167 GB, free: 9.219 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.6857, allocations: 19.95 kB / 0.7168 GB, free: 9.199 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.006029/0.6918, allocations: 3.7 MB / 0.7204 GB, free: 6.215 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007/0.6988, allocations: 2.579 MB / 0.7229 GB, free: 3.859 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008653/0.6997, allocations: 0.5108 MB / 0.7234 GB, free: 3.582 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.6998, allocations: 20.75 kB / 0.7234 GB, free: 3.562 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.6999, allocations: 46.59 kB / 0.7234 GB, free: 3.516 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 3.947e-06/0.6999, allocations: 0 / 0.7234 GB, free: 3.516 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.01186/0.7118, allocations: 3.803 MB / 0.7272 GB, free: 216 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.7119, allocations: 137.3 kB / 0.7273 GB, free: 48 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.7132, allocations: 0.8067 MB / 0.7281 GB, free: 15.45 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.7134, allocations: 29.7 kB / 0.7281 GB, free: 15.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.7137, allocations: 0.5017 MB / 0.7286 GB, free: 15.14 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.714, allocations: 323.4 kB / 0.7289 GB, free: 14.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/0.7141, allocations: 4 kB / 0.7289 GB, free: 14.85 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.7142, allocations: 343.5 kB / 0.7292 GB, free: 14.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/0.7148, allocations: 425.4 kB / 0.7296 GB, free: 14.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006945/0.7156, allocations: 0.5503 MB / 0.7302 GB, free: 13.92 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/0.7162, allocations: 474.6 kB / 0.7306 GB, free: 13.66 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.7163, allocations: 4 kB / 0.7306 GB, free: 13.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01137/0.7276, allocations: 3.926 MB / 0.7345 GB, free: 10.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004339/0.7281, allocations: 1.206 MB / 0.7356 GB, free: 8.965 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.7281, allocations: 0 / 0.7356 GB, free: 8.965 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004935/0.7331, allocations: 1.455 MB / 0.7371 GB, free: 7.703 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000954/0.734, allocations: 170.6 kB / 0.7372 GB, free: 7.543 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.7466, allocations: 6.332 MB / 0.7434 GB, free: 1.566 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.7483, allocations: 179 kB / 0.7436 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.7485, allocations: 36.16 kB / 0.7436 GB, free: 1.355 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.7485, allocations: 7.953 kB / 0.7436 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01135/0.7598, allocations: 3.774 MB / 0.7473 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.7599, allocations: 4 kB / 0.7473 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004769/0.7647, allocations: 1.457 MB / 0.7487 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008925/0.7656, allocations: 159.8 kB / 0.7489 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.7778, allocations: 6.349 MB / 0.7551 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.7795, allocations: 163.1 kB / 0.7552 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/0.7796, allocations: 31.98 kB / 0.7553 GB, free: 5.277 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * 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 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004097/0.78, allocations: 158.5 kB / 0.7554 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0116/0.7916, allocations: 3.816 MB / 0.7592 GB, free: 1.277 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005607/0.7922, allocations: 122.5 kB / 0.7593 GB, free: 1.156 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/0.8036, allocations: 3.886 MB / 0.7631 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.8037, allocations: 12 kB / 0.7631 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.8037, allocations: 4 kB / 0.7631 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.8037, allocations: 7.969 kB / 0.7631 GB, free: 13.23 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.0133/0.817, allocations: 5.42 MB / 0.7684 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.8171, allocations: 4.031 kB / 0.7684 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/0.8177, allocations: 119.8 kB / 0.7685 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004201/0.8219, allocations: 1.398 MB / 0.7699 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-05/0.822, allocations: 11.98 kB / 0.7699 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/0.8325, allocations: 5.618 MB / 0.7754 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.8326, allocations: 0 / 0.7754 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/0.8448, allocations: 4.607 MB / 0.7799 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/0.8453, allocations: 227.3 kB / 0.7801 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.8455, allocations: 7.953 kB / 0.7801 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.8466, allocations: 119.9 kB / 0.7802 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004834/0.8471, allocations: 184.5 kB / 0.7804 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.025e-05/0.8472, allocations: 27.94 kB / 0.7804 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008183/0.848, allocations: 0.6136 MB / 0.781 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.848, allocations: 0 / 0.781 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001978/0.85, allocations: 0.6045 MB / 0.7816 GB, free: 10 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01257/0.8626, allocations: 5.266 MB / 0.7867 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008307/0.8709, allocations: 3.508 MB / 0.7902 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.871, allocations: 0.75 kB / 0.7902 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003464/0.8744, allocations: 1.39 MB / 0.7915 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008348/0.8753, allocations: 94.09 kB / 0.7916 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.8787, allocations: 1.912 MB / 0.7935 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005961/0.8793, allocations: 1.158 MB / 0.7946 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007537/0.88, allocations: 193.7 kB / 0.7948 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005125/0.8806, allocations: 459.3 kB / 0.7952 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/0.8806, allocations: 0 / 0.7952 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06374/0.9443, allocations: 35.2 MB / 0.8296 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.9446, allocations: 154 kB / 0.8298 GB, free: 8.434 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/4.015, allocations: 0 / 0.8298 GB, free: 8.434 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)