Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",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.0009575/0.0009578, allocations: 173.9 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.257/1.257, 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.0008835/0.0008835, allocations: 101.5 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.4384/0.4384, allocations: 78.91 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.037e-05, allocations: 4 kB / 492.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3393, allocations: 69.51 MB / 0.5492 GB, free: 19.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.4643, allocations: 103.2 MB / 0.65 GB, free: 12.39 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.4646, allocations: 79.95 kB / 0.6501 GB, free: 12.31 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5342/0.9988, allocations: 102.8 MB / 0.7505 GB, free: 57.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.9989, allocations: 0 / 0.7505 GB, free: 57.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003423/0.9992, allocations: 83.94 kB / 0.7506 GB, free: 56.99 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.0177/1.017, allocations: 5.774 MB / 0.7562 GB, free: 51.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/1.017, allocations: 15.97 kB / 0.7562 GB, free: 51.12 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001933/1.019, allocations: 496.8 kB / 0.7567 GB, free: 50.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01716/1.036, allocations: 2.791 MB / 0.7594 GB, free: 47.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005693/1.042, allocations: 2.253 MB / 0.7616 GB, free: 45.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008048/1.043, allocations: 0.9847 MB / 0.7626 GB, free: 44.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001368/1.044, allocations: 340 kB / 0.7629 GB, free: 44.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007709/1.052, allocations: 4.096 MB / 0.7669 GB, free: 39.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.359e-05/1.052, allocations: 3.938 kB / 0.7669 GB, free: 39.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000374/1.052, allocations: 151.9 kB / 0.7671 GB, free: 39.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.343e-05/1.052, allocations: 84 kB / 0.7672 GB, free: 39.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00648/1.059, allocations: 3.621 MB / 0.7707 GB, free: 36.06 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.03453/1.093, allocations: 18.65 MB / 0.7889 GB, free: 16.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/1.104, allocations: 4.817 MB / 0.7936 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003964/1.108, allocations: 2.235 MB / 0.7958 GB, free: 9.074 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008048/1.109, allocations: 70.91 kB / 0.7959 GB, free: 9.004 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005555/1.114, allocations: 2.612 MB / 0.7984 GB, free: 6.352 MB / 490.7 MB Notification: Performance of pre-optimization done (n=384): time 1.028e-05/1.114, allocations: 7.938 kB / 0.7984 GB, free: 6.344 MB / 490.7 MB Notification: Performance of matching and sorting (n=384): time 0.05444/1.169, allocations: 17.6 MB / 0.8156 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.746e-05/1.169, allocations: 145.8 kB / 0.8157 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005816/1.175, allocations: 2.682 MB / 0.8184 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009916/1.176, allocations: 85.7 kB / 0.8184 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001799/1.177, allocations: 2.003 MB / 0.8204 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002306/1.18, allocations: 1.309 MB / 0.8217 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008847/1.181, allocations: 76 kB / 0.8217 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003469/1.181, allocations: 445.6 kB / 0.8222 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00417/1.185, allocations: 1.847 MB / 0.824 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004562/1.19, allocations: 2.422 MB / 0.8263 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004498/1.194, allocations: 2.103 MB / 0.8284 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.824e-05/1.194, allocations: 7.938 kB / 0.8284 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05748/1.252, allocations: 17.76 MB / 0.8457 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.986e-05/1.252, allocations: 67.39 kB / 0.8458 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/1.252, allocations: 16 kB / 0.8458 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02392/1.276, allocations: 6.961 MB / 0.8526 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003441/1.28, allocations: 0.5773 MB / 0.8532 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06946/1.349, allocations: 25.74 MB / 0.8783 GB, free: 3.871 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006759/1.356, allocations: 0.7191 MB / 0.879 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/1.357, allocations: 140 kB / 0.8792 GB, free: 3.012 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (333): * Single equations (assignments): 330 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002013/1.359, allocations: 331 kB / 0.8795 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002139/1.361, allocations: 458.3 kB / 0.8799 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05893/1.42, allocations: 18.15 MB / 0.8976 GB, free: 0 / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3454/1.766, allocations: 35 kB / 0.8977 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.667e-05/1.766, allocations: 32.31 kB / 0.8977 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001106/1.766, allocations: 17.44 kB / 0.8977 GB, free: 134.2 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.06398/1.83, allocations: 23.12 MB / 0.9203 GB, free: 133.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/1.83, allocations: 0 / 0.9203 GB, free: 133.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/1.833, allocations: 390.8 kB / 0.9207 GB, free: 133.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02183/1.854, allocations: 7.01 MB / 0.9275 GB, free: 133.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001056/1.855, allocations: 79.58 kB / 0.9276 GB, free: 133.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0527/1.908, allocations: 24.58 MB / 0.9516 GB, free: 125.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.908, allocations: 0 / 0.9516 GB, free: 125.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0544/1.963, allocations: 20.99 MB / 0.9721 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/1.965, allocations: 0.563 MB / 0.9726 GB, free: 115.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001947/1.967, allocations: 68 kB / 0.9727 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005816/1.972, allocations: 0.5039 MB / 0.9732 GB, free: 114.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003619/1.976, allocations: 0.781 MB / 0.974 GB, free: 114.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008602/1.977, allocations: 103 kB / 0.9741 GB, free: 114.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0036/1.981, allocations: 2.032 MB / 0.976 GB, free: 112.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.51e-07/1.981, allocations: 0 / 0.976 GB, free: 112.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006594/1.987, allocations: 1.775 MB / 0.9778 GB, free: 110.6 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(96,5.5%) 40} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.05446/2.042, allocations: 21.73 MB / 0.999 GB, free: 92.71 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0223/2.064, allocations: 8.246 MB / 1.007 GB, free: 85.21 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/2.064, allocations: 3.938 kB / 1.007 GB, free: 85.21 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01782/2.082, allocations: 6.113 MB / 1.013 GB, free: 79.78 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/2.085, allocations: 318.3 kB / 1.013 GB, free: 79.49 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/2.102, allocations: 6.663 MB / 1.02 GB, free: 73.54 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00197/2.104, allocations: 2.546 MB / 1.022 GB, free: 71.64 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001694/2.106, allocations: 302.5 kB / 1.023 GB, free: 71.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00226/2.108, allocations: 1.978 MB / 1.025 GB, free: 69.61 MB / 0.573 GB Notification: Performance of SimCode: time 9.52e-07/2.108, allocations: 0 / 1.025 GB, free: 69.61 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4777/2.586, allocations: 114.1 MB / 1.136 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/2.586, allocations: 189.6 kB / 1.136 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.178/8.764, allocations: 4.5 kB / 1.136 GB, free: 161.6 MB / 0.6042 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)