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.01102/0.01102, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.476/1.476, allocations: 223.2 MB / 239 MB, free: 1.801 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.000931/0.000931, allocations: 93.38 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4859/0.4859, allocations: 79.44 MB / 420.8 MB, free: 43.71 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003897, allocations: 8 kB / 0.4891 GB, free: 1.953 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4712, allocations: 69.5 MB / 0.557 GB, free: 38.97 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.6166, allocations: 103 MB / 0.6576 GB, free: 2.598 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.6169, allocations: 79.97 kB / 0.6576 GB, free: 2.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2628/0.8797, allocations: 102.6 MB / 0.7579 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of FrontEnd: time 6.622e-06/0.8798, allocations: 3.984 kB / 0.7579 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0006204/0.8804, allocations: 91.94 kB / 0.758 GB, free: 11.17 MB / 0.5573 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.02665/0.9071, allocations: 6.589 MB / 0.7644 GB, free: 4.488 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.9072, allocations: 8.031 kB / 0.7644 GB, free: 4.48 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00252/0.9097, allocations: 488.8 kB / 0.7649 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01796/0.9277, allocations: 2.807 MB / 0.7676 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3914/1.319, allocations: 2.31 MB / 0.7699 GB, free: 90.04 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001197/1.32, allocations: 0.9878 MB / 0.7708 GB, free: 89.35 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001847/1.322, allocations: 343.2 kB / 0.7711 GB, free: 89.35 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/1.336, allocations: 4.936 MB / 0.776 GB, free: 89.17 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.719e-05/1.336, allocations: 0.9375 kB / 0.776 GB, free: 89.17 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004293/1.336, allocations: 139.4 kB / 0.7761 GB, free: 89.17 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/1.337, allocations: 84.06 kB / 0.7762 GB, free: 89.17 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009992/1.347, allocations: 4.493 MB / 0.7806 GB, free: 89.14 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03789/1.385, allocations: 18.61 MB / 0.7987 GB, free: 82.95 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/1.397, allocations: 5.661 MB / 0.8043 GB, free: 82.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007401/1.398, allocations: 72.42 kB / 0.8043 GB, free: 82.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007961/1.406, allocations: 3.429 MB / 0.8077 GB, free: 82.36 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=383): time 9.057e-06/1.406, allocations: 3.719 kB / 0.8077 GB, free: 82.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=383): time 0.3055/1.712, allocations: 79.66 MB / 0.8855 GB, free: 73.88 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.247e-05/1.712, allocations: 141.8 kB / 0.8856 GB, free: 73.72 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004609/1.716, allocations: 2.702 MB / 0.8883 GB, free: 71.18 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00112/1.717, allocations: 89.7 kB / 0.8883 GB, free: 71.08 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001355/1.719, allocations: 2.005 MB / 0.8903 GB, free: 69.22 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002023/1.721, allocations: 1.3 MB / 0.8916 GB, free: 68 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/1.721, allocations: 72 kB / 0.8916 GB, free: 67.93 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.721, allocations: 441.8 kB / 0.8921 GB, free: 67.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005086/1.726, allocations: 2.658 MB / 0.8947 GB, free: 64.84 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005876/1.732, allocations: 3.239 MB / 0.8978 GB, free: 61.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006047/1.738, allocations: 2.909 MB / 0.9007 GB, free: 58.49 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-05/1.738, allocations: 7.562 kB / 0.9007 GB, free: 58.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.05648/1.795, allocations: 20.17 MB / 0.9204 GB, free: 38.45 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.584e-05/1.795, allocations: 64.03 kB / 0.9204 GB, free: 38.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.61e-05/1.795, allocations: 16 kB / 0.9205 GB, free: 38.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02624/1.821, allocations: 8.559 MB / 0.9288 GB, free: 29.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003334/1.825, allocations: 0.557 MB / 0.9294 GB, free: 29.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08454/1.909, allocations: 37.06 MB / 0.9655 GB, free: 8.098 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007143/1.917, allocations: 0.723 MB / 0.9663 GB, free: 7.371 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/1.918, allocations: 132 kB / 0.9664 GB, free: 7.242 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "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 () * Number of clocked 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.003059/1.921, allocations: 0.6552 MB / 0.967 GB, free: 6.574 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001823/1.923, allocations: 458.3 kB / 0.9675 GB, free: 6.121 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06254/1.985, allocations: 20.55 MB / 0.9875 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.087e-05/1.985, allocations: 36 kB / 0.9876 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.58e-05/1.985, allocations: 28 kB / 0.9876 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001613/1.986, allocations: 19.92 kB / 0.9876 GB, free: 1.422 MB / 0.5886 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.4246/2.41, allocations: 25.51 MB / 1.013 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.322e-05/2.41, allocations: 7.438 kB / 1.013 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002691/2.413, allocations: 391.4 kB / 1.013 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02914/2.442, allocations: 8.635 MB / 1.021 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001249/2.443, allocations: 78.44 kB / 1.021 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0836/2.527, allocations: 34.34 MB / 1.055 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/2.527, allocations: 0 / 1.055 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06408/2.591, allocations: 24.2 MB / 1.079 GB, free: 96.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/2.593, allocations: 0.5585 MB / 1.079 GB, free: 95.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001571/2.595, allocations: 67.03 kB / 1.079 GB, free: 95.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004919/2.6, allocations: 0.5023 MB / 1.08 GB, free: 95.57 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003326/2.603, allocations: 0.7792 MB / 1.08 GB, free: 95.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004553/2.604, allocations: 97.16 kB / 1.081 GB, free: 95.43 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003406/2.607, allocations: 2.073 MB / 1.083 GB, free: 94.68 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.71e-07/2.607, allocations: 0 / 1.083 GB, free: 94.68 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006743/2.614, allocations: 1.76 MB / 1.084 GB, free: 94.47 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 () * Number of clocked 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.06223/2.676, allocations: 24.94 MB / 1.109 GB, free: 83.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02596/2.702, allocations: 9.948 MB / 1.118 GB, free: 75.04 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/2.702, allocations: 0 / 1.118 GB, free: 75.04 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0199/2.722, allocations: 7.068 MB / 1.125 GB, free: 69.03 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/2.726, allocations: 303.7 kB / 1.126 GB, free: 68.74 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02351/2.749, allocations: 20.99 MB / 1.146 GB, free: 48.28 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/2.751, allocations: 2.529 MB / 1.148 GB, free: 46.39 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002091/2.753, allocations: 298.5 kB / 1.149 GB, free: 46.18 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002283/2.756, allocations: 1.931 MB / 1.151 GB, free: 44.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/2.756, allocations: 4 kB / 1.151 GB, free: 44.39 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4953/3.251, allocations: 112.2 MB / 1.26 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/3.251, allocations: 215.6 kB / 1.26 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.942/10.19, allocations: 1.219 kB / 1.26 GB, free: 119.2 MB / 0.6042 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)