Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009567/0.0009568, allocations: 174.5 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.316/1.316, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0008929/0.000893, allocations: 94.53 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4477/0.4477, allocations: 78.02 MB / 414.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.865e-05, allocations: 4 kB / 491.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3157, allocations: 69.35 MB / 0.5479 GB, free: 20.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.4393, allocations: 99.62 MB / 0.6452 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.4396, allocations: 79.95 kB / 0.6453 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06808/0.5077, allocations: 25.74 MB / 0.6704 GB, free: 6.801 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5078, allocations: 0 / 0.6704 GB, free: 6.801 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.339e-05/0.5078, allocations: 20 kB / 0.6705 GB, free: 6.781 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004369/0.5122, allocations: 1.711 MB / 0.6721 GB, free: 5.023 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.5123, allocations: 15.97 kB / 0.6722 GB, free: 5.008 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/0.5155, allocations: 0.5565 MB / 0.6727 GB, free: 4.449 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.517, allocations: 0.7709 MB / 0.6734 GB, free: 3.621 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.5173, allocations: 264.2 kB / 0.6737 GB, free: 3.328 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.5175, allocations: 76.25 kB / 0.6738 GB, free: 3.254 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.5191, allocations: 0.9423 MB / 0.6747 GB, free: 2.297 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.5191, allocations: 0 / 0.6747 GB, free: 2.297 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/0.5192, allocations: 32 kB / 0.6747 GB, free: 2.266 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.5192, allocations: 16 kB / 0.6747 GB, free: 2.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.5207, allocations: 0.8631 MB / 0.6756 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2931/0.8139, allocations: 3.5 MB / 0.679 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.8157, allocations: 1.242 MB / 0.6802 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.8168, allocations: 0.5733 MB / 0.6808 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.8169, allocations: 12.81 kB / 0.6808 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.817, allocations: 43.08 kB / 0.6808 GB, free: 103.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.807e-06/0.817, allocations: 0.9688 kB / 0.6808 GB, free: 103.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01365/0.8307, allocations: 4.044 MB / 0.6848 GB, free: 103.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.8308, allocations: 90.52 kB / 0.6849 GB, free: 103.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.8321, allocations: 0.7634 MB / 0.6856 GB, free: 103 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002458/0.8324, allocations: 40.98 kB / 0.6856 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.8327, allocations: 495.1 kB / 0.6861 GB, free: 102.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004358/0.8331, allocations: 317.2 kB / 0.6864 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.8332, allocations: 15.62 kB / 0.6864 GB, free: 102.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.8333, allocations: 343 kB / 0.6868 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007618/0.8341, allocations: 439.8 kB / 0.6872 GB, free: 102.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007816/0.8349, allocations: 0.542 MB / 0.6877 GB, free: 102.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007735/0.8357, allocations: 478.2 kB / 0.6882 GB, free: 102.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.8357, allocations: 0 / 0.6882 GB, free: 102.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01151/0.8472, allocations: 4.203 MB / 0.6923 GB, free: 101.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.8474, allocations: 0.7912 MB / 0.693 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.8475, allocations: 7.844 kB / 0.6931 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005265/0.8527, allocations: 1.712 MB / 0.6947 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006801/0.8534, allocations: 135.7 kB / 0.6949 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/0.8671, allocations: 7.259 MB / 0.7019 GB, free: 96.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.8687, allocations: 197.2 kB / 0.7021 GB, free: 96.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.8689, allocations: 30.78 kB / 0.7022 GB, free: 96.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.8689, allocations: 7.906 kB / 0.7022 GB, free: 96.67 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01093/0.8799, allocations: 4.061 MB / 0.7061 GB, free: 95.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.8799, allocations: 7.016 kB / 0.7061 GB, free: 95.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005043/0.885, allocations: 1.707 MB / 0.7078 GB, free: 94.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.8856, allocations: 136.1 kB / 0.7079 GB, free: 94.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/0.8987, allocations: 7.258 MB / 0.715 GB, free: 88.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.9002, allocations: 192.3 kB / 0.7152 GB, free: 87.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.9003, allocations: 35.56 kB / 0.7152 GB, free: 87.88 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003018/0.9006, allocations: 147.4 kB / 0.7154 GB, free: 87.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/0.901, allocations: 114.6 kB / 0.7155 GB, free: 87.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/0.9125, allocations: 4.181 MB / 0.7196 GB, free: 84.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.9125, allocations: 8 kB / 0.7196 GB, free: 84.35 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.9125, allocations: 4 kB / 0.7196 GB, free: 84.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.9126, allocations: 3.75 kB / 0.7196 GB, free: 84.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.9258, allocations: 5.793 MB / 0.7252 GB, free: 79.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.9258, allocations: 0 / 0.7252 GB, free: 79.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/0.9265, allocations: 114.4 kB / 0.7254 GB, free: 79.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004866/0.9313, allocations: 1.682 MB / 0.727 GB, free: 78.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/0.9315, allocations: 18.5 kB / 0.727 GB, free: 78.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.943, allocations: 6.302 MB / 0.7332 GB, free: 71.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9431, allocations: 0 / 0.7332 GB, free: 71.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/0.9555, allocations: 4.935 MB / 0.738 GB, free: 66.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.9559, allocations: 207.5 kB / 0.7382 GB, free: 66.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.9562, allocations: 19.98 kB / 0.7382 GB, free: 66.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.9573, allocations: 147.9 kB / 0.7383 GB, free: 66.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004994/0.9578, allocations: 204.4 kB / 0.7385 GB, free: 66.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/0.9579, allocations: 20 kB / 0.7386 GB, free: 66.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007045/0.9586, allocations: 0.5969 MB / 0.7391 GB, free: 65.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9586, allocations: 4 kB / 0.7391 GB, free: 65.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001704/0.9603, allocations: 0.665 MB / 0.7398 GB, free: 64.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002633/0.9606, allocations: 148.5 kB / 0.7399 GB, free: 64.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008494/0.9691, allocations: 3.538 MB / 0.7434 GB, free: 61.28 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.9691, allocations: 8 kB / 0.7434 GB, free: 61.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003858/0.973, allocations: 1.472 MB / 0.7448 GB, free: 59.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007172/0.9737, allocations: 93.67 kB / 0.7449 GB, free: 59.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.9768, allocations: 1.637 MB / 0.7465 GB, free: 58.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.9773, allocations: 1.134 MB / 0.7476 GB, free: 56.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006694/0.978, allocations: 166.8 kB / 0.7478 GB, free: 56.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.9781, allocations: 43.44 kB / 0.7478 GB, free: 56.7 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.9781, allocations: 0 / 0.7478 GB, free: 56.7 MB / 490.7 MB Notification: Performance of Templates: time 0.03641/1.015, allocations: 28.51 MB / 0.7757 GB, free: 28.47 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)