Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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.001273/0.001273, allocations: 180.9 kB / 7.65 MB, free: 1.422 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.272/1.272, allocations: 221.5 MB / 229.6 MB, free: 7.602 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.0009041/0.0009041, allocations: 90.8 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4497/0.4497, allocations: 78.94 MB / 410.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.532e-05/1.534e-05, allocations: 3.984 kB / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1248, allocations: 69.52 MB / 0.5425 GB, free: 5.816 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4024/0.5273, allocations: 102.2 MB / 0.6424 GB, free: 11.73 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5276, allocations: 75.95 kB / 0.6424 GB, free: 11.65 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2623/0.7899, allocations: 101 MB / 0.7411 GB, free: 6.27 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.647e-06/0.7899, allocations: 4 kB / 0.7411 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003947/0.7903, allocations: 88.5 kB / 0.7412 GB, free: 6.18 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01834/0.8087, allocations: 5.739 MB / 0.7468 GB, free: 372 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.623e-05/0.8088, allocations: 8.031 kB / 0.7468 GB, free: 364 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01814/0.8269, allocations: 2.776 MB / 0.7495 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008431/0.8354, allocations: 2.274 MB / 0.7517 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001503/0.8369, allocations: 0.8636 MB / 0.7525 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/0.8386, allocations: 204.7 kB / 0.7527 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01107/0.8497, allocations: 3.435 MB / 0.7561 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01132/0.8611, allocations: 3.59 MB / 0.7596 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.348e-05/0.8612, allocations: 0 / 0.7596 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005131/0.8618, allocations: 3.984 kB / 0.7596 GB, free: 2.961 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.8619, allocations: 84 kB / 0.7597 GB, free: 2.879 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.356/1.218, allocations: 18.07 MB / 0.7773 GB, free: 86.58 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/1.228, allocations: 4.689 MB / 0.7819 GB, free: 86.15 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003712/1.232, allocations: 2.113 MB / 0.784 GB, free: 86.12 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005224/1.232, allocations: 68.81 kB / 0.784 GB, free: 86.12 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003784/1.236, allocations: 2.481 MB / 0.7865 GB, free: 85.98 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=383): time 5.64e-06/1.236, allocations: 1.594 kB / 0.7865 GB, free: 85.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=383): time 0.05192/1.288, allocations: 17.28 MB / 0.8033 GB, free: 85.11 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/1.288, allocations: 148.7 kB / 0.8035 GB, free: 84.98 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004109/1.292, allocations: 2.436 MB / 0.8059 GB, free: 84.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008778/1.293, allocations: 27.28 kB / 0.8059 GB, free: 84.67 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001348/1.294, allocations: 1.995 MB / 0.8078 GB, free: 84.24 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001807/1.296, allocations: 1.253 MB / 0.8091 GB, free: 83.57 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/1.297, allocations: 0 / 0.8091 GB, free: 83.57 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002302/1.297, allocations: 449.6 kB / 0.8095 GB, free: 83.26 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002948/1.3, allocations: 1.761 MB / 0.8112 GB, free: 83.25 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003227/1.303, allocations: 2.323 MB / 0.8135 GB, free: 82.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003056/1.306, allocations: 1.958 MB / 0.8154 GB, free: 82.63 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/1.306, allocations: 3.719 kB / 0.8154 GB, free: 82.63 MB / 0.5573 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.04786/1.354, allocations: 17.33 MB / 0.8323 GB, free: 81.54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/1.354, allocations: 66.34 kB / 0.8324 GB, free: 81.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.463e-05/1.354, allocations: 13.97 kB / 0.8324 GB, free: 81.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02176/1.376, allocations: 6.896 MB / 0.8391 GB, free: 81.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/1.379, allocations: 0.5588 MB / 0.8397 GB, free: 81.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05312/1.432, allocations: 25.23 MB / 0.8643 GB, free: 70.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006638/1.439, allocations: 0.6481 MB / 0.8649 GB, free: 69.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/1.44, allocations: 133.2 kB / 0.8651 GB, free: 69.94 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis 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 (331): * Single equations (assignments): 328 * 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.001101/1.441, allocations: 207.5 kB / 0.8653 GB, free: 69.78 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05084/1.492, allocations: 17.28 MB / 0.8821 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002422/1.494, allocations: 450.4 kB / 0.8826 GB, free: 60.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0513/1.546, allocations: 17.75 MB / 0.8999 GB, free: 47.21 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.181e-05/1.546, allocations: 36 kB / 0.8999 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.078e-05/1.546, allocations: 28.56 kB / 0.9 GB, free: 47.15 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001346/1.546, allocations: 22.66 kB / 0.9 GB, free: 47.14 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.05844/1.605, allocations: 22.35 MB / 0.9218 GB, free: 30.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-05/1.605, allocations: 4.562 kB / 0.9218 GB, free: 30.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/1.607, allocations: 392.7 kB / 0.9222 GB, free: 29.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0226/1.63, allocations: 6.993 MB / 0.929 GB, free: 24.37 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001306/1.631, allocations: 15.19 kB / 0.929 GB, free: 24.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05264/1.684, allocations: 24.18 MB / 0.9527 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/1.684, allocations: 7.75 kB / 0.9527 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07065/1.754, allocations: 21.19 MB / 0.9734 GB, free: 264 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002121/1.757, allocations: 0.5649 MB / 0.9739 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002092/1.759, allocations: 0 / 0.9739 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006023/1.765, allocations: 459.3 kB / 0.9743 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003791/1.769, allocations: 0.7807 MB / 0.9751 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009754/1.77, allocations: 96.73 kB / 0.9752 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003684/1.773, allocations: 1.805 MB / 0.977 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/1.773, allocations: 0 / 0.977 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007864/1.781, allocations: 1.584 MB / 0.9785 GB, free: 10.95 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(100,5.5%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.4733/2.255, allocations: 21.27 MB / 0.9993 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02365/2.278, allocations: 7.956 MB / 1.007 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/2.278, allocations: 0 / 1.007 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02266/2.301, allocations: 5.994 MB / 1.013 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004167/2.305, allocations: 239.7 kB / 1.013 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/2.324, allocations: 6.277 MB / 1.019 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002663/2.327, allocations: 2.536 MB / 1.022 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001977/2.329, allocations: 300.6 kB / 1.022 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002456/2.331, allocations: 1.938 MB / 1.024 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of SimCode: time 1.804e-06/2.332, allocations: 0 / 1.024 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1796/2.511, allocations: 107.3 MB / 1.129 GB, free: 73.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/2.511, allocations: 141.5 kB / 1.129 GB, free: 73.71 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.418/8.929, allocations: 0 / 1.129 GB, free: 73.71 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)