Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000967/0.0009669, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0009535/0.0009536, allocations: 104.1 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4914/0.4914, allocations: 78.95 MB / 410.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.889e-05/1.893e-05, allocations: 0 / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.161, allocations: 69.51 MB / 0.5424 GB, free: 5.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4832/0.6442, allocations: 96.67 MB / 0.6368 GB, free: 1.453 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.6445, allocations: 79.95 kB / 0.6369 GB, free: 1.375 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05982/0.7043, allocations: 22.92 MB / 0.6593 GB, free: 10.52 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.7044, allocations: 0 / 0.6593 GB, free: 10.52 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.629e-05/0.7044, allocations: 16 kB / 0.6593 GB, free: 10.51 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00431/0.7087, allocations: 1.581 MB / 0.6609 GB, free: 8.883 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.7088, allocations: 8.031 kB / 0.6609 GB, free: 8.875 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003083/0.7119, allocations: 0.5332 MB / 0.6614 GB, free: 8.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.7132, allocations: 0.6567 MB / 0.662 GB, free: 7.641 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.7135, allocations: 239.5 kB / 0.6623 GB, free: 7.371 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.7137, allocations: 36 kB / 0.6623 GB, free: 7.336 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001306/0.715, allocations: 0.7407 MB / 0.663 GB, free: 6.594 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.7162, allocations: 0.6795 MB / 0.6637 GB, free: 5.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.7163, allocations: 0 / 0.6637 GB, free: 5.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/0.7164, allocations: 7.938 kB / 0.6637 GB, free: 5.902 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.7164, allocations: 16 kB / 0.6637 GB, free: 5.887 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005163/0.7215, allocations: 3.083 MB / 0.6667 GB, free: 2.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.7229, allocations: 1.111 MB / 0.6678 GB, free: 1.434 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000691/0.7236, allocations: 0.5154 MB / 0.6683 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.7237, allocations: 12.77 kB / 0.6683 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.7237, allocations: 45.59 kB / 0.6683 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of pre-optimization done (n=81): time 1.993e-06/0.7237, allocations: 0 / 0.6683 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of matching and sorting (n=81): time 0.0117/0.7354, allocations: 3.908 MB / 0.6722 GB, free: 12.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.7355, allocations: 60.19 kB / 0.6722 GB, free: 12.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007743/0.7363, allocations: 0.6103 MB / 0.6728 GB, free: 12.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-05/0.7363, allocations: 25.7 kB / 0.6728 GB, free: 12.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.7367, allocations: 436.2 kB / 0.6733 GB, free: 11.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.7369, allocations: 275.8 kB / 0.6735 GB, free: 11.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.737, allocations: 0 / 0.6735 GB, free: 11.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.7371, allocations: 337.9 kB / 0.6738 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/0.7377, allocations: 381.6 kB / 0.6742 GB, free: 10.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006999/0.7384, allocations: 487.6 kB / 0.6747 GB, free: 10.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000641/0.7391, allocations: 429.1 kB / 0.6751 GB, free: 9.871 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.7391, allocations: 0 / 0.6751 GB, free: 9.871 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01192/0.751, allocations: 3.992 MB / 0.679 GB, free: 5.867 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.7511, allocations: 4 kB / 0.679 GB, free: 5.863 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.7511, allocations: 4 kB / 0.679 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005441/0.7566, allocations: 1.688 MB / 0.6806 GB, free: 4.168 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006604/0.7573, allocations: 115.9 kB / 0.6807 GB, free: 4.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/0.7713, allocations: 6.886 MB / 0.6875 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.7727, allocations: 155.3 kB / 0.6876 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/0.7727, allocations: 24 kB / 0.6876 GB, free: 12.87 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.delta0 unit = "rad" ) "Rotor angle" 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0002809/0.773, allocations: 127.2 kB / 0.6878 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.7732, allocations: 98.78 kB / 0.6879 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/0.7853, allocations: 4.012 MB / 0.6918 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.7853, allocations: 10.62 kB / 0.6918 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7853, allocations: 0 / 0.6918 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.7854, allocations: 7.984 kB / 0.6918 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.799, allocations: 5.399 MB / 0.6971 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.7991, allocations: 0 / 0.6971 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.7996, allocations: 99.84 kB / 0.6972 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005223/0.8049, allocations: 1.66 MB / 0.6988 GB, free: 1.305 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.805, allocations: 8 kB / 0.6988 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01238/0.8174, allocations: 6.196 MB / 0.7048 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.8174, allocations: 3.938 kB / 0.7048 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01315/0.8306, allocations: 4.678 MB / 0.7094 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.831, allocations: 187.6 kB / 0.7096 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.8311, allocations: 7.688 kB / 0.7096 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009909/0.8321, allocations: 111.9 kB / 0.7097 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005849/0.8327, allocations: 208.3 kB / 0.7099 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/0.8328, allocations: 24 kB / 0.7099 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000612/0.8334, allocations: 475.1 kB / 0.7104 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8334, allocations: 0 / 0.7104 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00113/0.8346, allocations: 347.6 kB / 0.7107 GB, free: 4.938 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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.0002757/0.8348, allocations: 123.2 kB / 0.7108 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004885/0.8397, allocations: 1.85 MB / 0.7126 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.8398, allocations: 4 kB / 0.7126 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003996/0.8438, allocations: 1.387 MB / 0.714 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000617/0.8444, allocations: 51.25 kB / 0.714 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.8466, allocations: 1.139 MB / 0.7152 GB, free: 344 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.8471, allocations: 1.045 MB / 0.7162 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.8474, allocations: 53.06 kB / 0.7162 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.8476, allocations: 47.38 kB / 0.7163 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of SimCode: time 6.12e-07/0.8476, allocations: 0 / 0.7163 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.02641/0.874, allocations: 17.02 MB / 0.7329 GB, free: 14.28 MB / 0.5417 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)