Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009644/0.0009642, 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.319/1.319, 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.000852/0.000852, allocations: 87.64 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.434/0.434, allocations: 78.02 MB / 414.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.196e-05, allocations: 4 kB / 491.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3284, allocations: 69.34 MB / 0.5479 GB, free: 20.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.4497, allocations: 98.76 MB / 0.6444 GB, free: 1.68 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.45, allocations: 75.97 kB / 0.6445 GB, free: 1.605 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06882/0.5188, allocations: 25.88 MB / 0.6697 GB, free: 7.535 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5189, allocations: 0 / 0.6697 GB, free: 7.535 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.472e-05/0.519, allocations: 24 kB / 0.6698 GB, free: 7.512 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.004935/0.5239, allocations: 1.777 MB / 0.6715 GB, free: 5.684 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.524, allocations: 15.91 kB / 0.6715 GB, free: 5.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/0.5273, allocations: 0.5642 MB / 0.6721 GB, free: 5.102 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.5289, allocations: 0.7325 MB / 0.6728 GB, free: 4.316 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003226/0.5293, allocations: 272.1 kB / 0.673 GB, free: 4.012 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.5294, allocations: 75.91 kB / 0.6731 GB, free: 3.938 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.5312, allocations: 0.8782 MB / 0.674 GB, free: 3.051 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.5313, allocations: 0 / 0.674 GB, free: 3.051 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.5314, allocations: 32 kB / 0.674 GB, free: 3.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.5314, allocations: 24 kB / 0.674 GB, free: 2.996 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.533, allocations: 0.8631 MB / 0.6749 GB, free: 2.137 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3093/0.8422, allocations: 3.546 MB / 0.6783 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.8437, allocations: 1.233 MB / 0.6795 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009163/0.8446, allocations: 0.5879 MB / 0.6801 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.8447, allocations: 19.02 kB / 0.6801 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.8448, allocations: 41.78 kB / 0.6802 GB, free: 103.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 3.136e-06/0.8448, allocations: 0 / 0.6802 GB, free: 103.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01388/0.8587, allocations: 4.095 MB / 0.6842 GB, free: 103.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.8588, allocations: 62.41 kB / 0.6842 GB, free: 103.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.8599, allocations: 0.7328 MB / 0.6849 GB, free: 103.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002149/0.8601, allocations: 44.17 kB / 0.685 GB, free: 103.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.8604, allocations: 0.5022 MB / 0.6855 GB, free: 103.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.8606, allocations: 343.4 kB / 0.6858 GB, free: 103 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.8607, allocations: 18.59 kB / 0.6858 GB, free: 103 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.285e-05/0.8608, allocations: 339.4 kB / 0.6861 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/0.8615, allocations: 445.7 kB / 0.6866 GB, free: 102.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/0.8622, allocations: 0.5484 MB / 0.6871 GB, free: 102.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007049/0.8629, allocations: 486.7 kB / 0.6876 GB, free: 102.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.8629, allocations: 0 / 0.6876 GB, free: 102.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01161/0.8745, allocations: 4.212 MB / 0.6917 GB, free: 102.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.8746, allocations: 7.438 kB / 0.6917 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.8746, allocations: 3.812 kB / 0.6917 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005431/0.88, allocations: 1.726 MB / 0.6934 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008548/0.8809, allocations: 162.2 kB / 0.6935 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.894, allocations: 7.266 MB / 0.7006 GB, free: 98.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.8954, allocations: 206.7 kB / 0.7008 GB, free: 98.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-05/0.8956, allocations: 34.14 kB / 0.7009 GB, free: 98.01 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-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 (76): * Single equations (assignments): 75 * 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.0002296/0.8958, allocations: 150.8 kB / 0.701 GB, free: 97.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.896, allocations: 117.4 kB / 0.7011 GB, free: 97.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/0.9075, allocations: 4.228 MB / 0.7052 GB, free: 96.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.9076, allocations: 6.844 kB / 0.7052 GB, free: 96.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.9076, allocations: 7.625 kB / 0.7053 GB, free: 96.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/0.9076, allocations: 7.688 kB / 0.7053 GB, free: 96.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.9209, allocations: 5.815 MB / 0.7109 GB, free: 92.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.9209, allocations: 0 / 0.7109 GB, free: 92.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000775/0.9217, allocations: 152.2 kB / 0.7111 GB, free: 92.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004816/0.9266, allocations: 1.682 MB / 0.7127 GB, free: 91.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.9267, allocations: 16 kB / 0.7127 GB, free: 91.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/0.9379, allocations: 6.317 MB / 0.7189 GB, free: 85.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.9379, allocations: 0 / 0.7189 GB, free: 85.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/0.9506, allocations: 4.963 MB / 0.7238 GB, free: 81.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004615/0.9511, allocations: 206 kB / 0.724 GB, free: 80.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.9513, allocations: 16 kB / 0.724 GB, free: 80.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.9524, allocations: 156.3 kB / 0.7241 GB, free: 80.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007249/0.9531, allocations: 216.9 kB / 0.7243 GB, free: 80.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-05/0.9532, allocations: 24 kB / 0.7243 GB, free: 80.65 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006676/0.9538, allocations: 0.5758 MB / 0.7249 GB, free: 80.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9539, allocations: 0 / 0.7249 GB, free: 80.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001088/0.9549, allocations: 443.4 kB / 0.7253 GB, free: 79.69 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (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 (65): * Single equations (assignments): 64 * 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.0002742/0.9552, allocations: 147 kB / 0.7255 GB, free: 79.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004763/0.96, allocations: 2.021 MB / 0.7274 GB, free: 77.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.96, allocations: 0 / 0.7274 GB, free: 77.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003969/0.964, allocations: 1.5 MB / 0.7289 GB, free: 76.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007088/0.9647, allocations: 72.42 kB / 0.729 GB, free: 76.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/0.9673, allocations: 1.534 MB / 0.7305 GB, free: 74.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.9677, allocations: 1.122 MB / 0.7316 GB, free: 73.55 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.9681, allocations: 68.95 kB / 0.7316 GB, free: 73.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.9683, allocations: 51.42 kB / 0.7317 GB, free: 73.44 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/0.9683, allocations: 4 kB / 0.7317 GB, free: 73.43 MB / 490.7 MB Notification: Performance of Templates: time 0.02603/0.9943, allocations: 19.52 MB / 0.7508 GB, free: 54.17 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)