Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_release_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.001485/0.001485, allocations: 172.8 kB / 12.73 MB, free: 2.586 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.293/1.293, 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.0008133/0.0008133, allocations: 85.52 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.4849/0.4849, allocations: 78.09 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.878e-05, allocations: 4 kB / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3386, allocations: 69.33 MB / 0.5481 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.4747, allocations: 102.4 MB / 0.648 GB, free: 14.17 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.4751, allocations: 83.95 kB / 0.6481 GB, free: 14.09 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5727/1.048, allocations: 100.1 MB / 0.7459 GB, free: 62.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/1.048, allocations: 3.938 kB / 0.7459 GB, free: 62.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002325/1.048, allocations: 87.94 kB / 0.7459 GB, free: 62.02 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.01837/1.066, allocations: 5.79 MB / 0.7516 GB, free: 56.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/1.067, allocations: 11.97 kB / 0.7516 GB, free: 56.14 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001355/1.068, allocations: 492.8 kB / 0.7521 GB, free: 55.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/1.085, allocations: 2.783 MB / 0.7548 GB, free: 52.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0078/1.093, allocations: 2.291 MB / 0.757 GB, free: 50.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008823/1.094, allocations: 0.9634 MB / 0.758 GB, free: 49.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/1.095, allocations: 339.9 kB / 0.7583 GB, free: 49.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007169/1.102, allocations: 4.108 MB / 0.7623 GB, free: 44.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.618e-05/1.103, allocations: 3.953 kB / 0.7623 GB, free: 44.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003844/1.103, allocations: 136 kB / 0.7624 GB, free: 44.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.439e-05/1.103, allocations: 84 kB / 0.7625 GB, free: 44.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006508/1.11, allocations: 3.628 MB / 0.7661 GB, free: 41.07 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.03475/1.144, allocations: 18.74 MB / 0.7844 GB, free: 21.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/1.155, allocations: 4.793 MB / 0.7891 GB, free: 16.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004333/1.159, allocations: 2.233 MB / 0.7912 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008504/1.16, allocations: 70.91 kB / 0.7913 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.415e-05/1.16, allocations: 73.5 kB / 0.7914 GB, free: 13.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 9.007e-06/1.16, allocations: 4 kB / 0.7914 GB, free: 13.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.05491/1.215, allocations: 17.48 MB / 0.8084 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/1.216, allocations: 175.5 kB / 0.8086 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006694/1.222, allocations: 2.674 MB / 0.8112 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001225/1.223, allocations: 89.7 kB / 0.8113 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002062/1.226, allocations: 2.01 MB / 0.8133 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002646/1.228, allocations: 1.305 MB / 0.8145 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/1.229, allocations: 72 kB / 0.8146 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004239/1.23, allocations: 441.6 kB / 0.815 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004853/1.235, allocations: 1.839 MB / 0.8168 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004813/1.239, allocations: 2.415 MB / 0.8192 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004738/1.244, allocations: 2.095 MB / 0.8212 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.981e-05/1.244, allocations: 4 kB / 0.8212 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.05817/1.302, allocations: 17.75 MB / 0.8386 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002491/1.305, allocations: 6.687 MB / 0.8451 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.803e-05/1.305, allocations: 12 kB / 0.8451 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02592/1.331, allocations: 7.009 MB / 0.852 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003626/1.335, allocations: 0.5305 MB / 0.8525 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07494/1.41, allocations: 26.95 MB / 0.8788 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007316/1.417, allocations: 0.6879 MB / 0.8795 GB, free: 2.363 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/1.418, allocations: 132 kB / 0.8796 GB, free: 2.234 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.418, allocations: 4 kB / 0.8796 GB, free: 2.23 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05602/1.474, allocations: 17.34 MB / 0.8965 GB, free: 0.8359 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.992e-05/1.474, allocations: 16 kB / 0.8965 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4656/1.94, allocations: 6.998 MB / 0.9034 GB, free: 128 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/1.943, allocations: 0.5254 MB / 0.9039 GB, free: 128 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06625/2.009, allocations: 26.92 MB / 0.9302 GB, free: 125 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009358/2.019, allocations: 0.6586 MB / 0.9308 GB, free: 124.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/2.02, allocations: 133.4 kB / 0.9309 GB, free: 124.9 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.00177/2.022, allocations: 327.8 kB / 0.9313 GB, free: 124.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002129/2.024, allocations: 458.5 kB / 0.9317 GB, free: 124.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07638/2.101, allocations: 18.03 MB / 0.9493 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.718e-05/2.101, allocations: 41.66 kB / 0.9493 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001264/2.101, allocations: 31.47 kB / 0.9494 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001821/2.101, allocations: 17.67 kB / 0.9494 GB, free: 121.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.08973/2.191, allocations: 23.32 MB / 0.9722 GB, free: 113.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.517e-05/2.191, allocations: 0 / 0.9722 GB, free: 113.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004264/2.195, allocations: 408 kB / 0.9725 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03225/2.228, allocations: 6.944 MB / 0.9793 GB, free: 108.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00156/2.229, allocations: 73.55 kB / 0.9794 GB, free: 108 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07027/2.3, allocations: 22.56 MB / 1.001 GB, free: 88.09 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/2.3, allocations: 0 / 1.001 GB, free: 88.09 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05512/2.355, allocations: 20.88 MB / 1.022 GB, free: 70.98 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/2.357, allocations: 0.5575 MB / 1.022 GB, free: 70.48 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001698/2.359, allocations: 64 kB / 1.022 GB, free: 70.42 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005572/2.364, allocations: 487.1 kB / 1.023 GB, free: 70.05 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003555/2.368, allocations: 0.7723 MB / 1.024 GB, free: 69.63 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004138/2.368, allocations: 95.94 kB / 1.024 GB, free: 69.54 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003159/2.371, allocations: 2.042 MB / 1.026 GB, free: 67.65 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.61e-07/2.371, allocations: 0 / 1.026 GB, free: 67.65 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01002/2.381, allocations: 2.895 MB / 1.029 GB, free: 64.88 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.05513/2.437, allocations: 21.61 MB / 1.05 GB, free: 46.95 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04213/2.479, allocations: 14.76 MB / 1.064 GB, free: 33.56 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/2.479, allocations: 4.25 kB / 1.064 GB, free: 33.55 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01918/2.498, allocations: 5.987 MB / 1.07 GB, free: 28.27 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005161/2.503, allocations: 306.1 kB / 1.07 GB, free: 27.97 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02461/2.528, allocations: 6.888 MB / 1.077 GB, free: 21.81 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003/2.531, allocations: 2.6 MB / 1.079 GB, free: 19.88 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004213/2.535, allocations: 0.6093 MB / 1.08 GB, free: 19.47 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002529/2.538, allocations: 1.919 MB / 1.082 GB, free: 17.7 MB / 0.573 GB Notification: Performance of SimCode: time 1.663e-06/2.538, allocations: 0 / 1.082 GB, free: 17.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5956/3.133, allocations: 149.1 MB / 1.228 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/3.133, allocations: 192.4 kB / 1.228 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/11.38, allocations: 3.938 kB / 1.228 GB, free: 112.4 MB / 0.6042 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)