Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_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.0009487/0.0009487, allocations: 174.6 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.194/1.194, 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.0009178/0.0009174, allocations: 89.92 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4485/0.4485, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/2.999e-05, allocations: 4 kB / 492.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3214, allocations: 69.5 MB / 0.5492 GB, free: 19.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.446, allocations: 103 MB / 0.6498 GB, free: 12.56 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.4463, allocations: 83.89 kB / 0.6499 GB, free: 12.48 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5117/0.958, allocations: 102 MB / 0.7495 GB, free: 58.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.958, allocations: 0 / 0.7495 GB, free: 58.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002181/0.9583, allocations: 87.94 kB / 0.7496 GB, free: 58.01 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01733/0.9756, allocations: 5.797 MB / 0.7552 GB, free: 52.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.9757, allocations: 11.97 kB / 0.7552 GB, free: 52.12 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001475/0.9771, allocations: 488.8 kB / 0.7557 GB, free: 51.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0163/0.9934, allocations: 2.787 MB / 0.7584 GB, free: 48.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005395/0.9989, allocations: 2.298 MB / 0.7607 GB, free: 46.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008125/0.9997, allocations: 0.9557 MB / 0.7616 GB, free: 45.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/1.001, allocations: 347.9 kB / 0.7619 GB, free: 45.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008326/1.009, allocations: 4.1 MB / 0.7659 GB, free: 40.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.017e-05/1.01, allocations: 7.984 kB / 0.766 GB, free: 40.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003905/1.01, allocations: 140 kB / 0.7661 GB, free: 40.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/1.01, allocations: 87.94 kB / 0.7662 GB, free: 40.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006679/1.017, allocations: 3.62 MB / 0.7697 GB, free: 37.05 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.03514/1.052, allocations: 18.76 MB / 0.788 GB, free: 17.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/1.062, allocations: 4.781 MB / 0.7927 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004028/1.066, allocations: 2.234 MB / 0.7949 GB, free: 9.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007024/1.067, allocations: 74.92 kB / 0.7949 GB, free: 9.906 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/1.067, allocations: 73.5 kB / 0.795 GB, free: 9.824 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 6.692e-06/1.067, allocations: 0 / 0.795 GB, free: 9.824 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.05335/1.12, allocations: 17.47 MB / 0.8121 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/1.121, allocations: 171.5 kB / 0.8122 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00573/1.126, allocations: 2.69 MB / 0.8149 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009917/1.127, allocations: 89.7 kB / 0.815 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00155/1.129, allocations: 2.002 MB / 0.8169 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002014/1.131, allocations: 1.309 MB / 0.8182 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003047/1.131, allocations: 71.94 kB / 0.8183 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002085/1.132, allocations: 441.6 kB / 0.8187 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003108/1.135, allocations: 1.831 MB / 0.8205 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003614/1.138, allocations: 2.423 MB / 0.8228 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003545/1.142, allocations: 2.099 MB / 0.8249 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/1.142, allocations: 4 kB / 0.8249 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.0517/1.194, allocations: 17.76 MB / 0.8422 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002562/1.196, allocations: 6.684 MB / 0.8488 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.204e-05/1.196, allocations: 19.95 kB / 0.8488 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02345/1.22, allocations: 6.997 MB / 0.8556 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/1.223, allocations: 0.5343 MB / 0.8561 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05779/1.28, allocations: 26.93 MB / 0.8824 GB, free: 15.03 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005943/1.286, allocations: 0.7074 MB / 0.8831 GB, free: 14.32 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004658/1.287, allocations: 140 kB / 0.8833 GB, free: 14.18 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/1.287, allocations: 4 kB / 0.8833 GB, free: 14.18 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4017/1.689, allocations: 17.33 MB / 0.9002 GB, free: 124.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.544e-05/1.689, allocations: 14.12 kB / 0.9002 GB, free: 124.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0236/1.712, allocations: 6.996 MB / 0.907 GB, free: 124.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/1.715, allocations: 0.5404 MB / 0.9076 GB, free: 124.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05668/1.772, allocations: 26.92 MB / 0.9338 GB, free: 121.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005988/1.778, allocations: 0.6813 MB / 0.9345 GB, free: 121.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007879/1.779, allocations: 136 kB / 0.9346 GB, free: 121.6 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.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 (325): * Single equations (assignments): 321 * 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: 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001005/1.78, allocations: 329.6 kB / 0.935 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/1.781, allocations: 458.6 kB / 0.9354 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04985/1.831, allocations: 18.03 MB / 0.953 GB, free: 117.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-05/1.831, allocations: 35.56 kB / 0.953 GB, free: 117.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.272e-05/1.831, allocations: 31.62 kB / 0.9531 GB, free: 117.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000102/1.831, allocations: 18.42 kB / 0.9531 GB, free: 117.9 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.05714/1.888, allocations: 23.31 MB / 0.9758 GB, free: 109.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-05/1.888, allocations: 5.031 kB / 0.9758 GB, free: 109.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002736/1.891, allocations: 408.2 kB / 0.9762 GB, free: 109.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02149/1.913, allocations: 6.942 MB / 0.983 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001359/1.914, allocations: 77.39 kB / 0.9831 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04704/1.961, allocations: 22.57 MB / 1.005 GB, free: 83.98 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.961, allocations: 0 / 1.005 GB, free: 83.98 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0517/2.013, allocations: 20.87 MB / 1.026 GB, free: 66.91 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/2.015, allocations: 0.5648 MB / 1.026 GB, free: 66.41 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001507/2.016, allocations: 68 kB / 1.026 GB, free: 66.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00503/2.021, allocations: 0.4912 MB / 1.027 GB, free: 65.96 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003005/2.024, allocations: 0.7686 MB / 1.027 GB, free: 65.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003851/2.025, allocations: 99.84 kB / 1.027 GB, free: 65.45 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002889/2.027, allocations: 2.04 MB / 1.029 GB, free: 63.56 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.51e-07/2.027, allocations: 7.828 kB / 1.029 GB, free: 63.56 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008245/2.036, allocations: 2.895 MB / 1.032 GB, free: 60.79 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 250 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05393/2.09, allocations: 21.61 MB / 1.053 GB, free: 42.88 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03873/2.129, allocations: 14.76 MB / 1.068 GB, free: 29.48 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/2.129, allocations: 0 / 1.068 GB, free: 29.48 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01643/2.145, allocations: 5.989 MB / 1.074 GB, free: 24.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/2.148, allocations: 310 kB / 1.074 GB, free: 23.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/2.161, allocations: 6.881 MB / 1.081 GB, free: 17.74 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/2.163, allocations: 2.602 MB / 1.083 GB, free: 15.81 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002698/2.165, allocations: 0.616 MB / 1.084 GB, free: 15.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/2.167, allocations: 1.916 MB / 1.086 GB, free: 13.58 MB / 0.573 GB Notification: Performance of SimCode: time 1.032e-06/2.167, allocations: 0 / 1.086 GB, free: 13.58 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5019/2.669, allocations: 149.2 MB / 1.231 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/2.669, allocations: 185.3 kB / 1.232 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/10.63, allocations: 0 / 1.232 GB, free: 106.4 MB / 0.6042 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)