Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.001511/0.001511, allocations: 174.7 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.514/1.514, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0009818/0.0009821, allocations: 94.66 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4911/0.4911, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.727e-05, allocations: 0 / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.34, allocations: 69.34 MB / 0.5481 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.4642, allocations: 100.5 MB / 0.6462 GB, free: 80 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4644, allocations: 79.95 kB / 0.6463 GB, free: 0 / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4349/0.8993, allocations: 67.86 MB / 0.7125 GB, free: 96.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.8994, allocations: 0 / 0.7125 GB, free: 96.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002046/0.8996, allocations: 60.97 kB / 0.7126 GB, free: 96.39 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01234/0.9119, allocations: 4.064 MB / 0.7166 GB, free: 92.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.912, allocations: 11.97 kB / 0.7166 GB, free: 92.31 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001239/0.9133, allocations: 295.2 kB / 0.7169 GB, free: 92.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01977/0.933, allocations: 1.603 MB / 0.7184 GB, free: 90.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005698/0.9388, allocations: 1.666 MB / 0.7201 GB, free: 88.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009142/0.9397, allocations: 0.6906 MB / 0.7207 GB, free: 87.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007786/0.9405, allocations: 207.9 kB / 0.7209 GB, free: 87.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007452/0.948, allocations: 2.581 MB / 0.7235 GB, free: 85.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-05/0.9481, allocations: 3.938 kB / 0.7235 GB, free: 85.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002463/0.9484, allocations: 84 kB / 0.7235 GB, free: 84.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.9484, allocations: 48 kB / 0.7236 GB, free: 84.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004054/0.9524, allocations: 2.34 MB / 0.7259 GB, free: 82.52 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.01915/0.9716, allocations: 10.12 MB / 0.7358 GB, free: 71.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008846/0.9805, allocations: 4.054 MB / 0.7397 GB, free: 67.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002319/0.9829, allocations: 1.542 MB / 0.7412 GB, free: 66.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003386/0.9832, allocations: 38.05 kB / 0.7413 GB, free: 66.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.9832, allocations: 64.55 kB / 0.7413 GB, free: 66.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 4.439e-06/0.9833, allocations: 4 kB / 0.7413 GB, free: 66.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.03704/1.02, allocations: 12.32 MB / 0.7533 GB, free: 53.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/1.02, allocations: 235.6 kB / 0.7536 GB, free: 53.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/1.023, allocations: 1.878 MB / 0.7554 GB, free: 51.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000542/1.024, allocations: 65.7 kB / 0.7555 GB, free: 51.51 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006253/1.024, allocations: 1.22 MB / 0.7567 GB, free: 50.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008548/1.025, allocations: 0.8392 MB / 0.7575 GB, free: 49.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/1.025, allocations: 52 kB / 0.7575 GB, free: 49.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.375e-05/1.025, allocations: 398.6 kB / 0.7579 GB, free: 48.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/1.027, allocations: 1.235 MB / 0.7591 GB, free: 47.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/1.029, allocations: 1.555 MB / 0.7606 GB, free: 46.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/1.031, allocations: 1.471 MB / 0.7621 GB, free: 44.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.031, allocations: 4 kB / 0.7621 GB, free: 44.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03521/1.066, allocations: 12.54 MB / 0.7743 GB, free: 31.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004865/1.067, allocations: 2.873 MB / 0.7771 GB, free: 28.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.067, allocations: 8 kB / 0.7771 GB, free: 28.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0155/1.083, allocations: 5.169 MB / 0.7822 GB, free: 23.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/1.085, allocations: 379.4 kB / 0.7825 GB, free: 23.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03738/1.122, allocations: 18.87 MB / 0.801 GB, free: 4.098 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004109/1.126, allocations: 0.5249 MB / 0.8015 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/1.127, allocations: 83.97 kB / 0.8016 GB, free: 3.488 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/1.127, allocations: 4 kB / 0.8016 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03702/1.164, allocations: 12.26 MB / 0.8135 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.24e-05/1.164, allocations: 4 kB / 0.8135 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.017/1.181, allocations: 5.173 MB / 0.8186 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/1.183, allocations: 363.5 kB / 0.8189 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0425/1.225, allocations: 18.88 MB / 0.8374 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004178/1.229, allocations: 0.4979 MB / 0.8379 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000394/1.23, allocations: 79.98 kB / 0.8379 GB, free: 13.86 MB / 0.5261 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.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 (211): * Single equations (assignments): 205 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006795/1.231, allocations: 300.9 kB / 0.8382 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007687/1.231, allocations: 296.3 kB / 0.8385 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03916/1.271, allocations: 12.67 MB / 0.8509 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/1.271, allocations: 27.94 kB / 0.8509 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/1.271, allocations: 20 kB / 0.8509 GB, free: 500 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.509e-05/1.271, allocations: 11.95 kB / 0.8509 GB, free: 488 kB / 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.04427/1.315, allocations: 16.43 MB / 0.867 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/1.315, allocations: 7.938 kB / 0.867 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/1.317, allocations: 271.7 kB / 0.8673 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0157/1.333, allocations: 4.818 MB / 0.872 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000618/1.333, allocations: 52 kB / 0.872 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03611/1.369, allocations: 15.38 MB / 0.887 GB, free: 11.21 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.369, allocations: 0 / 0.887 GB, free: 11.21 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3223/1.692, allocations: 14.62 MB / 0.9013 GB, free: 165.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000957/1.693, allocations: 412.3 kB / 0.9017 GB, free: 165.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007482/1.694, allocations: 48.28 kB / 0.9017 GB, free: 165.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003451/1.697, allocations: 397.1 kB / 0.9021 GB, free: 165.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002113/1.699, allocations: 0.559 MB / 0.9027 GB, free: 165.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/1.699, allocations: 61.84 kB / 0.9027 GB, free: 165.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002512/1.702, allocations: 1.442 MB / 0.9041 GB, free: 165 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.72e-07/1.702, allocations: 0 / 0.9041 GB, free: 165 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005936/1.708, allocations: 1.794 MB / 0.9059 GB, free: 165 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (165): * Single equations (assignments): 162 * 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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03991/1.748, allocations: 15.38 MB / 0.9209 GB, free: 163.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02741/1.775, allocations: 10.34 MB / 0.931 GB, free: 162 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/1.775, allocations: 0 / 0.931 GB, free: 162 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01241/1.788, allocations: 4.071 MB / 0.935 GB, free: 160.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/1.79, allocations: 243.3 kB / 0.9352 GB, free: 160.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00835/1.798, allocations: 4.847 MB / 0.9399 GB, free: 158.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/1.799, allocations: 1.912 MB / 0.9418 GB, free: 157.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001763/1.801, allocations: 456.3 kB / 0.9423 GB, free: 157.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.802, allocations: 1.185 MB / 0.9434 GB, free: 156.3 MB / 0.573 GB Notification: Performance of SimCode: time 6.62e-07/1.802, allocations: 0 / 0.9434 GB, free: 156.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1246/1.927, allocations: 101.3 MB / 1.042 GB, free: 68.16 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001233/1.927, allocations: 194.2 kB / 1.042 GB, free: 67.93 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.722/7.649, allocations: 0 / 1.042 GB, free: 67.93 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)