Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_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.005318/0.005318, allocations: 173.6 kB / 15.12 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.341/1.341, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0008627/0.0008628, allocations: 94.86 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06126/0.06126, 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.4434/0.4434, allocations: 78.52 MB / 459.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005322/0.0005323, allocations: 15.06 kB / 0.528 GB, free: 35.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1247, allocations: 69.24 MB / 0.5956 GB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3795/0.5042, allocations: 100.4 MB / 0.6937 GB, free: 98.25 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.5046, allocations: 82.81 kB / 0.6938 GB, free: 98.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07878/0.5834, allocations: 30.13 MB / 0.7232 GB, free: 87.98 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5835, allocations: 0 / 0.7232 GB, free: 87.98 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001322/0.5836, allocations: 31.88 kB / 0.7232 GB, free: 87.95 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005829/0.5894, allocations: 2.038 MB / 0.7252 GB, free: 85.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5895, allocations: 11.98 kB / 0.7252 GB, free: 85.83 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003433/0.5898, allocations: 126.6 kB / 0.7253 GB, free: 85.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00344/0.5933, allocations: 0.5679 MB / 0.7259 GB, free: 85.13 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.5951, allocations: 0.8271 MB / 0.7267 GB, free: 84.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.5954, allocations: 246.4 kB / 0.7269 GB, free: 83.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002394/0.5956, allocations: 76 kB / 0.727 GB, free: 83.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.5979, allocations: 1.154 MB / 0.7281 GB, free: 82.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.598, allocations: 0 / 0.7281 GB, free: 82.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.723e-05/0.5981, allocations: 32 kB / 0.7282 GB, free: 82.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.5981, allocations: 20 kB / 0.7282 GB, free: 82.68 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/0.6001, allocations: 1.085 MB / 0.7292 GB, free: 81.59 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.006245/0.6064, allocations: 3.91 MB / 0.7331 GB, free: 77.49 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006938/0.6133, allocations: 2.879 MB / 0.7359 GB, free: 74.52 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.429e-05/0.6135, allocations: 16.98 kB / 0.7359 GB, free: 74.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.6135, allocations: 51.55 kB / 0.7359 GB, free: 74.44 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 3.396e-06/0.6135, allocations: 0 / 0.7359 GB, free: 74.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=94): time 0.02615/0.6397, allocations: 8.338 MB / 0.7441 GB, free: 66.06 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.6398, allocations: 137.5 kB / 0.7442 GB, free: 65.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.6415, allocations: 0.9454 MB / 0.7451 GB, free: 64.94 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001881/0.6417, allocations: 41.7 kB / 0.7452 GB, free: 64.89 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/0.642, allocations: 0.5209 MB / 0.7457 GB, free: 64.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003938/0.6424, allocations: 335.1 kB / 0.746 GB, free: 64.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/0.6425, allocations: 24 kB / 0.746 GB, free: 64.01 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.851e-05/0.6426, allocations: 345.9 kB / 0.7464 GB, free: 63.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.6438, allocations: 0.6461 MB / 0.747 GB, free: 63.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.645, allocations: 0.7916 MB / 0.7478 GB, free: 62.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.6463, allocations: 0.7589 MB / 0.7485 GB, free: 61.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.6463, allocations: 0 / 0.7485 GB, free: 61.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01282/0.6592, allocations: 4.621 MB / 0.753 GB, free: 56.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002569/0.6595, allocations: 1.212 MB / 0.7542 GB, free: 55.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.6595, allocations: 0 / 0.7542 GB, free: 55.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005504/0.665, allocations: 1.809 MB / 0.756 GB, free: 53.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.6662, allocations: 191.7 kB / 0.7562 GB, free: 53.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/0.6847, allocations: 9.107 MB / 0.765 GB, free: 44.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.6865, allocations: 187.3 kB / 0.7652 GB, free: 44.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.6868, allocations: 43.92 kB / 0.7653 GB, free: 44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.6868, allocations: 4 kB / 0.7653 GB, free: 43.99 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01182/0.6986, allocations: 4.461 MB / 0.7696 GB, free: 39.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.6987, allocations: 11.98 kB / 0.7696 GB, free: 39.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005295/0.704, allocations: 1.827 MB / 0.7714 GB, free: 37.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.7052, allocations: 175.8 kB / 0.7716 GB, free: 37.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/0.7229, allocations: 9.103 MB / 0.7805 GB, free: 28.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.7247, allocations: 183.2 kB / 0.7807 GB, free: 28.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002721/0.725, allocations: 39.98 kB / 0.7807 GB, free: 28.04 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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 {18 12} Notification: Performance of prepare postOptimizeDAE: time 0.0009293/0.7259, allocations: 362.5 kB / 0.781 GB, free: 27.67 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004967/0.7264, allocations: 134.5 kB / 0.7812 GB, free: 27.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/0.7385, allocations: 4.638 MB / 0.7857 GB, free: 22.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.7386, allocations: 8 kB / 0.7857 GB, free: 22.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/0.7386, allocations: 8 kB / 0.7857 GB, free: 22.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.343e-05/0.7387, allocations: 3.984 kB / 0.7857 GB, free: 22.85 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 postOpt removeSimpleEquations (simulation): time 0.01531/0.754, allocations: 6.28 MB / 0.7918 GB, free: 16.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.754, allocations: 4.031 kB / 0.7919 GB, free: 16.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008567/0.7549, allocations: 119.8 kB / 0.792 GB, free: 16.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005013/0.7599, allocations: 1.785 MB / 0.7937 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002521/0.7602, allocations: 23.98 kB / 0.7937 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/0.7762, allocations: 8.015 MB / 0.8016 GB, free: 6.375 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7762, allocations: 0 / 0.8016 GB, free: 6.375 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/0.7898, allocations: 5.571 MB / 0.807 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005978/0.7904, allocations: 231.2 kB / 0.8072 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/0.7908, allocations: 24 kB / 0.8072 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.7923, allocations: 135.9 kB / 0.8074 GB, free: 372 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005334/0.7928, allocations: 180.7 kB / 0.8075 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.637e-05/0.7929, allocations: 24.11 kB / 0.8076 GB, free: 168 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001549/0.7945, allocations: 0.7513 MB / 0.8083 GB, free: 15.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7945, allocations: 4 kB / 0.8083 GB, free: 15.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002811/0.7973, allocations: 0.6787 MB / 0.809 GB, free: 14.72 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * 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 (68): * Single equations (assignments): 66 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.016/0.8134, allocations: 6.25 MB / 0.8151 GB, free: 8.434 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01092/0.8243, allocations: 4.202 MB / 0.8192 GB, free: 4.152 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8244, allocations: 0 / 0.8192 GB, free: 4.152 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004589/0.829, allocations: 1.679 MB / 0.8208 GB, free: 2.453 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.8302, allocations: 112.6 kB / 0.8209 GB, free: 2.344 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007296/0.8375, allocations: 5.28 MB / 0.8261 GB, free: 12.95 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008031/0.8383, allocations: 1.16 MB / 0.8272 GB, free: 11.75 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0006602/0.839, allocations: 126.6 kB / 0.8273 GB, free: 11.62 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006977/0.8397, allocations: 471.3 kB / 0.8278 GB, free: 11.16 MB / 0.4949 GB Notification: Performance of SimCode: time 8.31e-07/0.8397, allocations: 0 / 0.8278 GB, free: 11.16 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06314/0.9029, allocations: 36.21 MB / 0.8631 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.9031, allocations: 223.2 kB / 0.8634 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.106/4.009, allocations: 8 kB / 0.8634 GB, free: 6.855 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)