Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_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.0009431/0.0009431, allocations: 174.8 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.217/1.217, 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.0008394/0.0008394, allocations: 89.44 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4125/0.4125, allocations: 78.89 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.793e-05/2.806e-05, allocations: 4 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2825, allocations: 69.51 MB / 0.5492 GB, free: 19.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.3897, allocations: 101.7 MB / 0.6485 GB, free: 13.81 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.3899, allocations: 79.95 kB / 0.6486 GB, free: 13.73 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4691/0.859, allocations: 100.5 MB / 0.7467 GB, free: 60.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.8591, allocations: 0 / 0.7467 GB, free: 60.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002733/0.8594, allocations: 91.88 kB / 0.7468 GB, free: 60.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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.01606/0.8754, allocations: 5.723 MB / 0.7524 GB, free: 54.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.8755, allocations: 15.97 kB / 0.7524 GB, free: 54.58 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001247/0.8767, allocations: 484.7 kB / 0.7528 GB, free: 54.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/0.8926, allocations: 2.783 MB / 0.7556 GB, free: 51.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003957/0.8966, allocations: 2.263 MB / 0.7578 GB, free: 48.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006037/0.8972, allocations: 0.9557 MB / 0.7587 GB, free: 47.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005928/0.8978, allocations: 340 kB / 0.759 GB, free: 47.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005829/0.9036, allocations: 4.077 MB / 0.763 GB, free: 43.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.453e-05/0.9037, allocations: 0 / 0.763 GB, free: 43.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003498/0.9041, allocations: 140 kB / 0.7631 GB, free: 43.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/0.9041, allocations: 84 kB / 0.7632 GB, free: 43.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005143/0.9092, allocations: 3.616 MB / 0.7668 GB, free: 39.59 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.02901/0.9383, allocations: 18.63 MB / 0.7849 GB, free: 19.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009393/0.9477, allocations: 4.743 MB / 0.7896 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002985/0.9507, allocations: 2.217 MB / 0.7917 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004027/0.9511, allocations: 70.89 kB / 0.7918 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.9512, allocations: 73.53 kB / 0.7919 GB, free: 12.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=379): time 5.26e-06/0.9512, allocations: 3.938 kB / 0.7919 GB, free: 12.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=379): time 0.04731/0.9985, allocations: 17.44 MB / 0.8089 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.9987, allocations: 171.5 kB / 0.8091 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004269/1.003, allocations: 2.646 MB / 0.8117 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007932/1.004, allocations: 85.7 kB / 0.8117 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001296/1.005, allocations: 1.983 MB / 0.8137 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001409/1.006, allocations: 1.29 MB / 0.8149 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/1.007, allocations: 72 kB / 0.815 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.007, allocations: 441.5 kB / 0.8154 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002977/1.01, allocations: 1.816 MB / 0.8172 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003252/1.013, allocations: 2.398 MB / 0.8195 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003199/1.016, allocations: 2.063 MB / 0.8216 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/1.016, allocations: 4 kB / 0.8216 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.04926/1.066, allocations: 17.66 MB / 0.8388 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001871/1.068, allocations: 6.682 MB / 0.8453 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/1.068, allocations: 16 kB / 0.8453 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02273/1.09, allocations: 6.911 MB / 0.8521 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/1.093, allocations: 0.5383 MB / 0.8526 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05669/1.15, allocations: 25.59 MB / 0.8776 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005849/1.156, allocations: 0.7035 MB / 0.8783 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006657/1.157, allocations: 132 kB / 0.8784 GB, free: 2.785 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.157, allocations: 4 kB / 0.8784 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04862/1.205, allocations: 17.23 MB / 0.8952 GB, free: 1.504 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.809e-05/1.205, allocations: 16 kB / 0.8953 GB, free: 1.488 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3159/1.521, allocations: 6.921 MB / 0.902 GB, free: 126.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002725/1.524, allocations: 0.5302 MB / 0.9025 GB, free: 126.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05589/1.58, allocations: 25.55 MB / 0.9275 GB, free: 124.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006452/1.586, allocations: 0.6838 MB / 0.9282 GB, free: 124.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/1.587, allocations: 124.3 kB / 0.9283 GB, free: 124.8 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 317 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001914/1.589, allocations: 331 kB / 0.9286 GB, free: 124.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001832/1.591, allocations: 455.4 kB / 0.929 GB, free: 124.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04906/1.64, allocations: 17.98 MB / 0.9466 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.324e-05/1.64, allocations: 41.17 kB / 0.9466 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.069e-05/1.64, allocations: 31.42 kB / 0.9466 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-05/1.641, allocations: 14.77 kB / 0.9467 GB, free: 121.3 MB / 0.573 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.06051/1.701, allocations: 23.23 MB / 0.9693 GB, free: 114.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.267e-05/1.701, allocations: 0 / 0.9693 GB, free: 114.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003152/1.704, allocations: 400.8 kB / 0.9697 GB, free: 114.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02158/1.726, allocations: 6.972 MB / 0.9765 GB, free: 109.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008632/1.727, allocations: 72.2 kB / 0.9766 GB, free: 109.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04761/1.775, allocations: 22.56 MB / 0.9986 GB, free: 89.22 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.775, allocations: 3.953 kB / 0.9986 GB, free: 89.22 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05267/1.827, allocations: 20.79 MB / 1.019 GB, free: 72.21 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/1.829, allocations: 0.5591 MB / 1.019 GB, free: 71.71 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001401/1.83, allocations: 60 kB / 1.02 GB, free: 71.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004785/1.835, allocations: 0.4969 MB / 1.02 GB, free: 71.27 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002797/1.838, allocations: 0.7682 MB / 1.021 GB, free: 70.85 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004982/1.838, allocations: 96.48 kB / 1.021 GB, free: 70.76 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002418/1.841, allocations: 2.014 MB / 1.023 GB, free: 68.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.4e-07/1.841, allocations: 0 / 1.023 GB, free: 68.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00638/1.847, allocations: 2.862 MB / 1.026 GB, free: 66.16 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 247 * 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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05059/1.898, allocations: 21.51 MB / 1.047 GB, free: 48.34 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03743/1.935, allocations: 14.42 MB / 1.061 GB, free: 35.29 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.935, allocations: 0 / 1.061 GB, free: 35.29 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01626/1.951, allocations: 5.987 MB / 1.067 GB, free: 30 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/1.954, allocations: 314.5 kB / 1.067 GB, free: 29.71 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/1.966, allocations: 6.614 MB / 1.073 GB, free: 23.77 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/1.967, allocations: 2.59 MB / 1.076 GB, free: 21.84 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002403/1.97, allocations: 0.6071 MB / 1.076 GB, free: 21.44 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/1.971, allocations: 1.942 MB / 1.078 GB, free: 19.66 MB / 0.573 GB Notification: Performance of SimCode: time 5.21e-07/1.971, allocations: 0 / 1.078 GB, free: 19.66 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.463/2.434, allocations: 147.7 MB / 1.223 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/2.434, allocations: 185.6 kB / 1.223 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/10.08, allocations: 0 / 1.223 GB, free: 114.2 MB / 0.6042 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)