Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 174.7 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.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.0008347/0.0008348, allocations: 93.09 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4618/0.4618, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.212e-05/2.214e-05, allocations: 7.984 kB / 491.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2919, allocations: 69.33 MB / 0.548 GB, free: 20.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.4236, allocations: 98.47 MB / 0.6442 GB, free: 2.078 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.4239, allocations: 79.94 kB / 0.6442 GB, free: 2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06571/0.4896, allocations: 25.74 MB / 0.6694 GB, free: 8.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4897, allocations: 0 / 0.6694 GB, free: 8.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.708e-05/0.4897, allocations: 20 kB / 0.6694 GB, free: 8.051 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004398/0.4941, allocations: 1.771 MB / 0.6711 GB, free: 6.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.4942, allocations: 11.97 kB / 0.6711 GB, free: 6.219 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/0.4972, allocations: 0.5642 MB / 0.6717 GB, free: 5.652 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.4985, allocations: 0.7285 MB / 0.6724 GB, free: 4.871 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.4987, allocations: 272.2 kB / 0.6726 GB, free: 4.566 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.4989, allocations: 72 kB / 0.6727 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.5005, allocations: 0.8704 MB / 0.6736 GB, free: 3.617 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5005, allocations: 0 / 0.6736 GB, free: 3.617 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.192e-05/0.5006, allocations: 36 kB / 0.6736 GB, free: 3.582 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.5006, allocations: 16 kB / 0.6736 GB, free: 3.566 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.5021, allocations: 0.867 MB / 0.6745 GB, free: 2.703 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2831/0.7852, allocations: 3.555 MB / 0.6779 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.7866, allocations: 1.226 MB / 0.6791 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009308/0.7875, allocations: 0.586 MB / 0.6797 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.7877, allocations: 15.52 kB / 0.6797 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.7877, allocations: 42.98 kB / 0.6798 GB, free: 103.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.126e-06/0.7877, allocations: 0.75 kB / 0.6798 GB, free: 103.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01343/0.8012, allocations: 4.073 MB / 0.6837 GB, free: 103.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.8012, allocations: 61.78 kB / 0.6838 GB, free: 103.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.8025, allocations: 0.7467 MB / 0.6845 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.8026, allocations: 42.86 kB / 0.6846 GB, free: 103 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.8029, allocations: 0.5081 MB / 0.6851 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.8032, allocations: 337.5 kB / 0.6854 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.8032, allocations: 15.62 kB / 0.6854 GB, free: 102.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.8033, allocations: 341 kB / 0.6857 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007577/0.8041, allocations: 442.9 kB / 0.6861 GB, free: 102.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006914/0.8048, allocations: 0.5437 MB / 0.6867 GB, free: 102.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006826/0.8055, allocations: 481.5 kB / 0.6871 GB, free: 102.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8055, allocations: 0 / 0.6871 GB, free: 102.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01138/0.8169, allocations: 4.161 MB / 0.6912 GB, free: 102 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.8169, allocations: 14.14 kB / 0.6912 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.8169, allocations: 0 / 0.6912 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005204/0.8221, allocations: 1.736 MB / 0.6929 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007715/0.8229, allocations: 173.5 kB / 0.6931 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/0.8356, allocations: 7.284 MB / 0.7002 GB, free: 97.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.8369, allocations: 200.8 kB / 0.7004 GB, free: 97.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.239e-05/0.837, allocations: 33.66 kB / 0.7004 GB, free: 97.93 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.000209/0.8372, allocations: 147.2 kB / 0.7006 GB, free: 97.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.8373, allocations: 117.5 kB / 0.7007 GB, free: 97.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/0.8485, allocations: 4.215 MB / 0.7048 GB, free: 96.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.8485, allocations: 13.11 kB / 0.7048 GB, free: 96.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.8485, allocations: 0 / 0.7048 GB, free: 96.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.8486, allocations: 10 kB / 0.7048 GB, free: 96.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.8614, allocations: 5.828 MB / 0.7105 GB, free: 92.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.8614, allocations: 0 / 0.7105 GB, free: 92.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006498/0.8621, allocations: 146.2 kB / 0.7106 GB, free: 92.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004632/0.8667, allocations: 1.684 MB / 0.7123 GB, free: 91.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-05/0.8668, allocations: 20 kB / 0.7123 GB, free: 91.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.8777, allocations: 6.325 MB / 0.7185 GB, free: 85.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.8778, allocations: 3.938 kB / 0.7185 GB, free: 85.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/0.8902, allocations: 4.988 MB / 0.7233 GB, free: 81.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.8906, allocations: 207.1 kB / 0.7235 GB, free: 81.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.8907, allocations: 16 kB / 0.7236 GB, free: 81.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.8918, allocations: 159 kB / 0.7237 GB, free: 81.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006029/0.8924, allocations: 215.3 kB / 0.7239 GB, free: 81.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.14e-05/0.8925, allocations: 27.06 kB / 0.7239 GB, free: 81.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006022/0.8931, allocations: 0.5822 MB / 0.7245 GB, free: 80.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.8931, allocations: 4 kB / 0.7245 GB, free: 80.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001628/0.8947, allocations: 427.3 kB / 0.7249 GB, free: 80.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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.0003287/0.8951, allocations: 155.1 kB / 0.7251 GB, free: 79.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006451/0.9015, allocations: 2.013 MB / 0.727 GB, free: 78.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.9016, allocations: 0.5625 kB / 0.727 GB, free: 78.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005381/0.907, allocations: 1.489 MB / 0.7285 GB, free: 76.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007964/0.9078, allocations: 75.66 kB / 0.7286 GB, free: 76.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.9102, allocations: 1.476 MB / 0.73 GB, free: 75.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.9106, allocations: 1.122 MB / 0.7311 GB, free: 74.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003922/0.911, allocations: 69.19 kB / 0.7312 GB, free: 74.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.9113, allocations: 55.42 kB / 0.7312 GB, free: 73.96 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/0.9113, allocations: 0 / 0.7312 GB, free: 73.96 MB / 490.7 MB Notification: Performance of Templates: time 0.02824/0.9395, allocations: 19.63 MB / 0.7504 GB, free: 54.64 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)