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.001274/0.001274, allocations: 180.7 kB / 7.649 MB, free: 1.395 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 221.5 MB / 229.6 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009357/0.0009356, allocations: 97.67 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5087/0.5087, allocations: 78.94 MB / 410.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.174e-05, allocations: 4 kB / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1758, allocations: 69.52 MB / 0.5425 GB, free: 5.805 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4676/0.6435, allocations: 102.5 MB / 0.6427 GB, free: 11.4 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.6439, allocations: 85.77 kB / 0.6428 GB, free: 11.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2651/0.909, allocations: 101.5 MB / 0.7419 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9091, allocations: 0 / 0.7419 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004393/0.9095, allocations: 87.94 kB / 0.742 GB, free: 5.324 MB / 0.5417 GB 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.01923/0.9288, allocations: 5.782 MB / 0.7476 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.9289, allocations: 12.03 kB / 0.7476 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01744/0.9463, allocations: 2.772 MB / 0.7503 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006056/0.9524, allocations: 2.257 MB / 0.7525 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001014/0.9535, allocations: 0.8699 MB / 0.7534 GB, free: 9.336 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/0.9548, allocations: 209.1 kB / 0.7536 GB, free: 9.133 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008089/0.9629, allocations: 3.435 MB / 0.7569 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.9733, allocations: 3.598 MB / 0.7605 GB, free: 2.07 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.509e-05/0.9734, allocations: 0 / 0.7605 GB, free: 2.07 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007077/0.9742, allocations: 0 / 0.7605 GB, free: 2.07 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.101e-05/0.9742, allocations: 84 kB / 0.7605 GB, free: 1.988 MB / 0.5573 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 preOpt removeSimpleEquations (simulation): time 0.3311/1.305, allocations: 18.1 MB / 0.7782 GB, free: 84.79 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/1.317, allocations: 4.703 MB / 0.7828 GB, free: 84.35 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004239/1.321, allocations: 2.122 MB / 0.7849 GB, free: 84.32 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007847/1.322, allocations: 70.66 kB / 0.785 GB, free: 84.32 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005767/1.328, allocations: 2.494 MB / 0.7874 GB, free: 84.19 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=384): time 1.322e-05/1.328, allocations: 0 / 0.7874 GB, free: 84.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=384): time 0.05945/1.387, allocations: 17.31 MB / 0.8043 GB, free: 83.32 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/1.387, allocations: 142.5 kB / 0.8044 GB, free: 83.19 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008188/1.396, allocations: 2.471 MB / 0.8068 GB, free: 82.91 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001139/1.397, allocations: 27.42 kB / 0.8069 GB, free: 82.88 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/1.399, allocations: 2.002 MB / 0.8088 GB, free: 82.45 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002627/1.401, allocations: 1.26 MB / 0.8101 GB, free: 81.78 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003459/1.402, allocations: 0 / 0.8101 GB, free: 81.78 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002708/1.402, allocations: 443.5 kB / 0.8105 GB, free: 81.47 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003284/1.405, allocations: 1.772 MB / 0.8122 GB, free: 81.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003873/1.409, allocations: 2.335 MB / 0.8145 GB, free: 80.91 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003885/1.413, allocations: 1.972 MB / 0.8164 GB, free: 80.84 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.71e-05/1.413, allocations: 3.625 kB / 0.8164 GB, free: 80.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05166/1.465, allocations: 17.36 MB / 0.8334 GB, free: 79.75 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.193e-05/1.465, allocations: 67.22 kB / 0.8334 GB, free: 79.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/1.465, allocations: 15.06 kB / 0.8334 GB, free: 79.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02265/1.488, allocations: 6.897 MB / 0.8402 GB, free: 79.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003554/1.491, allocations: 0.5742 MB / 0.8407 GB, free: 79.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0544/1.546, allocations: 25.21 MB / 0.8654 GB, free: 67.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006261/1.552, allocations: 0.6514 MB / 0.866 GB, free: 67.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008383/1.553, allocations: 135.2 kB / 0.8661 GB, free: 67.83 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.0009109/1.554, allocations: 209.9 kB / 0.8663 GB, free: 67.68 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05008/1.604, allocations: 17.31 MB / 0.8832 GB, free: 59.22 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002189/1.606, allocations: 458.3 kB / 0.8837 GB, free: 58.77 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05023/1.656, allocations: 17.76 MB / 0.901 GB, free: 45.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.582e-05/1.656, allocations: 36 kB / 0.901 GB, free: 45.03 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.25e-05/1.656, allocations: 28 kB / 0.9011 GB, free: 45 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001127/1.657, allocations: 18.7 kB / 0.9011 GB, free: 45 MB / 0.5573 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.05597/1.713, allocations: 22.38 MB / 0.923 GB, free: 27.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-05/1.713, allocations: 7.75 kB / 0.923 GB, free: 27.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002435/1.715, allocations: 390.1 kB / 0.9233 GB, free: 27.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02095/1.736, allocations: 6.947 MB / 0.9301 GB, free: 22.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001001/1.737, allocations: 19.66 kB / 0.9301 GB, free: 22.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04952/1.787, allocations: 24.26 MB / 0.9538 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/1.787, allocations: 0 / 0.9538 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06333/1.85, allocations: 21.13 MB / 0.9744 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/1.852, allocations: 0.5656 MB / 0.975 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/1.853, allocations: 4 kB / 0.975 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00497/1.858, allocations: 451.6 kB / 0.9754 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00309/1.861, allocations: 0.7815 MB / 0.9762 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004111/1.862, allocations: 101.2 kB / 0.9763 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00314/1.865, allocations: 1.832 MB / 0.9781 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2e-07/1.865, allocations: 0 / 0.9781 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006898/1.872, allocations: 1.592 MB / 0.9796 GB, free: 8.562 MB / 0.5886 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.348/2.22, allocations: 21.32 MB / 1 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02134/2.241, allocations: 7.974 MB / 1.008 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/2.241, allocations: 1.156 kB / 1.008 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01863/2.26, allocations: 5.965 MB / 1.014 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/2.263, allocations: 241.5 kB / 1.014 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/2.279, allocations: 6.384 MB / 1.021 GB, free: 108 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002628/2.282, allocations: 2.543 MB / 1.023 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001764/2.284, allocations: 294.3 kB / 1.023 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002308/2.286, allocations: 1.984 MB / 1.025 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of SimCode: time 9.22e-07/2.286, allocations: 3.609 kB / 1.025 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1625/2.449, allocations: 107.9 MB / 1.131 GB, free: 69.69 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/2.449, allocations: 138.9 kB / 1.131 GB, free: 69.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.661/9.11, allocations: 0 / 1.131 GB, free: 69.5 MB / 0.5886 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)