Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 175.1 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.249/1.249, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.001019/0.001019, allocations: 94.56 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4732/0.4732, allocations: 78.03 MB / 414.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.658e-05/2.66e-05, allocations: 4 kB / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3267, allocations: 69.35 MB / 0.5481 GB, free: 20.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.4415, allocations: 98.4 MB / 0.6441 GB, free: 1.98 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.4417, allocations: 75.95 kB / 0.6442 GB, free: 1.906 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3729/0.8146, allocations: 35.12 MB / 0.6785 GB, free: 105.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.8147, allocations: 0 / 0.6785 GB, free: 105.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.313e-05/0.8147, allocations: 20.94 kB / 0.6785 GB, free: 105.6 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.0041/0.8189, allocations: 1.694 MB / 0.6802 GB, free: 104.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.8189, allocations: 13.88 kB / 0.6802 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001888/0.8191, allocations: 123.1 kB / 0.6803 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003405/0.8225, allocations: 0.5593 MB / 0.6809 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.8241, allocations: 0.7842 MB / 0.6816 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.8243, allocations: 233.3 kB / 0.6818 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.8245, allocations: 78.48 kB / 0.6819 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.8263, allocations: 0.9308 MB / 0.6828 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.8264, allocations: 6.891 kB / 0.6828 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.135e-05/0.8265, allocations: 31.33 kB / 0.6829 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.8265, allocations: 18.59 kB / 0.6829 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.8281, allocations: 0.8358 MB / 0.6837 GB, free: 104.1 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.006328/0.8344, allocations: 3.838 MB / 0.6875 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006381/0.8408, allocations: 2.612 MB / 0.69 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007311/0.8415, allocations: 0.5367 MB / 0.6905 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.8417, allocations: 22.2 kB / 0.6905 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.8417, allocations: 41.38 kB / 0.6906 GB, free: 102.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 4.168e-06/0.8417, allocations: 3.422 kB / 0.6906 GB, free: 102.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01074/0.8525, allocations: 3.897 MB / 0.6944 GB, free: 102.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.8526, allocations: 142.4 kB / 0.6945 GB, free: 102 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.8538, allocations: 0.879 MB / 0.6954 GB, free: 101.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002087/0.8541, allocations: 44.08 kB / 0.6954 GB, free: 101.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.8543, allocations: 0.4994 MB / 0.6959 GB, free: 101.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.8546, allocations: 328.9 kB / 0.6962 GB, free: 100.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.149e-05/0.8547, allocations: 19.81 kB / 0.6963 GB, free: 100.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.211e-05/0.8548, allocations: 352.2 kB / 0.6966 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006518/0.8554, allocations: 440.4 kB / 0.697 GB, free: 100.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006885/0.8561, allocations: 0.5573 MB / 0.6976 GB, free: 100 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/0.8569, allocations: 0.545 MB / 0.6981 GB, free: 99.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.8569, allocations: 3.75 kB / 0.6981 GB, free: 99.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01082/0.8677, allocations: 4.052 MB / 0.702 GB, free: 98.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002551/0.868, allocations: 1.204 MB / 0.7032 GB, free: 97.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.868, allocations: 3.781 kB / 0.7032 GB, free: 97.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004715/0.8727, allocations: 1.487 MB / 0.7047 GB, free: 97.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008621/0.8736, allocations: 160.9 kB / 0.7048 GB, free: 97.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.8857, allocations: 6.526 MB / 0.7112 GB, free: 92.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.8874, allocations: 192.4 kB / 0.7114 GB, free: 92.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-05/0.8875, allocations: 38 kB / 0.7114 GB, free: 92.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.8875, allocations: 4 kB / 0.7114 GB, free: 92.33 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01062/0.8981, allocations: 3.931 MB / 0.7153 GB, free: 89.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.8982, allocations: 4 kB / 0.7153 GB, free: 89.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004514/0.9027, allocations: 1.482 MB / 0.7167 GB, free: 88.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008151/0.9036, allocations: 164.7 kB / 0.7169 GB, free: 87.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.9149, allocations: 6.504 MB / 0.7232 GB, free: 82.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.9165, allocations: 181 kB / 0.7234 GB, free: 81.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.9167, allocations: 35.61 kB / 0.7234 GB, free: 81.86 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.0002901/0.917, allocations: 193.5 kB / 0.7236 GB, free: 81.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.9173, allocations: 122.5 kB / 0.7237 GB, free: 81.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/0.9274, allocations: 3.998 MB / 0.7276 GB, free: 78.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.9274, allocations: 19.36 kB / 0.7277 GB, free: 78.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.9275, allocations: 4 kB / 0.7277 GB, free: 78.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/0.9275, allocations: 7.516 kB / 0.7277 GB, free: 78.37 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.01289/0.9404, allocations: 5.609 MB / 0.7331 GB, free: 72.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.9404, allocations: 4 kB / 0.7331 GB, free: 72.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007241/0.9412, allocations: 115.9 kB / 0.7333 GB, free: 72.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004162/0.9454, allocations: 1.422 MB / 0.7346 GB, free: 71.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002466/0.9456, allocations: 23.94 kB / 0.7347 GB, free: 71.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.956, allocations: 5.733 MB / 0.7403 GB, free: 65.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.956, allocations: 3.984 kB / 0.7403 GB, free: 65.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/0.9678, allocations: 4.716 MB / 0.7449 GB, free: 60.76 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006351/0.9685, allocations: 227.2 kB / 0.7451 GB, free: 60.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005666/0.9691, allocations: 20.14 kB / 0.7451 GB, free: 60.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.9706, allocations: 139.9 kB / 0.7452 GB, free: 60.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005793/0.9712, allocations: 184.4 kB / 0.7454 GB, free: 60.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.9714, allocations: 24 kB / 0.7454 GB, free: 60.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001033/0.9724, allocations: 0.6815 MB / 0.7461 GB, free: 59.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.9724, allocations: 0 / 0.7461 GB, free: 59.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002411/0.9749, allocations: 0.667 MB / 0.7468 GB, free: 58.8 MB / 490.7 MB 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.01191/0.9868, allocations: 5.387 MB / 0.752 GB, free: 53.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008469/0.9953, allocations: 3.633 MB / 0.7556 GB, free: 49.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.9953, allocations: 0 / 0.7556 GB, free: 49.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003483/0.9988, allocations: 1.435 MB / 0.757 GB, free: 48.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.9998, allocations: 109.9 kB / 0.7571 GB, free: 48.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/1.004, allocations: 1.989 MB / 0.759 GB, free: 46.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/1.004, allocations: 1.158 MB / 0.7602 GB, free: 44.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008366/1.005, allocations: 197.5 kB / 0.7603 GB, free: 44.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/1.006, allocations: 455.3 kB / 0.7608 GB, free: 44.27 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/1.006, allocations: 0 / 0.7608 GB, free: 44.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0507/1.056, allocations: 37.8 MB / 0.7977 GB, free: 7.059 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/1.057, allocations: 183.6 kB / 0.7979 GB, free: 6.836 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.999/4.056, allocations: 1.266 kB / 0.7979 GB, free: 6.836 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)