Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 177.3 kB / 16.12 MB, free: 5.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.4 MB / 222.3 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008043/0.0008045, allocations: 88.92 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3286/0.3286, allocations: 42.28 MB / 361.2 MB, free: 49.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004401, allocations: 16 kB / 429.4 MB, free: 7.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.107, allocations: 57.57 MB / 487 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.31/0.4171, allocations: 93.78 MB / 0.5672 GB, free: 14.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.4174, allocations: 80.83 kB / 0.5672 GB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06524/0.4826, allocations: 23.87 MB / 0.5905 GB, free: 5.941 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.4827, allocations: 0 / 0.5905 GB, free: 5.941 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001544/0.4829, allocations: 24 kB / 0.5906 GB, free: 5.918 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.00614/0.489, allocations: 1.853 MB / 0.5924 GB, free: 4.012 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4891, allocations: 9.062 kB / 0.5924 GB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/0.4926, allocations: 0.5526 MB / 0.5929 GB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.4944, allocations: 0.7655 MB / 0.5937 GB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003198/0.4948, allocations: 268.2 kB / 0.5939 GB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.495, allocations: 75.94 kB / 0.594 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/0.4976, allocations: 1.169 MB / 0.5951 GB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.4977, allocations: 0 / 0.5951 GB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.4978, allocations: 24 kB / 0.5952 GB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.4978, allocations: 20 kB / 0.5952 GB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002428/0.5002, allocations: 1.12 MB / 0.5963 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006747/0.507, allocations: 3.574 MB / 0.5998 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/0.5097, allocations: 1.529 MB / 0.6013 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.5113, allocations: 0.8204 MB / 0.6021 GB, free: 9.715 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.636e-05/0.5114, allocations: 16.97 kB / 0.6021 GB, free: 9.699 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.5114, allocations: 43.56 kB / 0.6021 GB, free: 9.648 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 2.715e-06/0.5114, allocations: 0 / 0.6021 GB, free: 9.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.02672/0.5382, allocations: 8.325 MB / 0.6102 GB, free: 1.289 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.5383, allocations: 90.11 kB / 0.6103 GB, free: 1.184 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.5397, allocations: 0.7892 MB / 0.6111 GB, free: 380 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000196/0.5399, allocations: 41.7 kB / 0.6111 GB, free: 332 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004221/0.5403, allocations: 472.5 kB / 0.6116 GB, free: 15.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004847/0.5408, allocations: 311.3 kB / 0.6119 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-05/0.5409, allocations: 16 kB / 0.6119 GB, free: 15.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5411, allocations: 341.9 kB / 0.6122 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.5426, allocations: 0.6812 MB / 0.6129 GB, free: 14.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.5442, allocations: 0.793 MB / 0.6137 GB, free: 13.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01521/0.5594, allocations: 4.733 MB / 0.6183 GB, free: 8.918 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.5594, allocations: 3.938 kB / 0.6183 GB, free: 8.914 MB / 442.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01332/0.5728, allocations: 4.826 MB / 0.623 GB, free: 4.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.5729, allocations: 164.7 kB / 0.6232 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.5729, allocations: 7.984 kB / 0.6232 GB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006166/0.5791, allocations: 2.089 MB / 0.6252 GB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/0.5799, allocations: 151.8 kB / 0.6254 GB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/0.6018, allocations: 9.491 MB / 0.6346 GB, free: 8.008 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.6035, allocations: 187.2 kB / 0.6348 GB, free: 7.824 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/0.6037, allocations: 28 kB / 0.6348 GB, free: 7.797 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.6037, allocations: 0 / 0.6348 GB, free: 7.797 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01377/0.6175, allocations: 4.687 MB / 0.6394 GB, free: 3.098 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.6176, allocations: 4 kB / 0.6394 GB, free: 3.094 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006404/0.624, allocations: 2.085 MB / 0.6415 GB, free: 1.004 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/0.6247, allocations: 151.8 kB / 0.6416 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02105/0.6458, allocations: 9.494 MB / 0.6509 GB, free: 7.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.6472, allocations: 175.3 kB / 0.651 GB, free: 7.059 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.6474, allocations: 32 kB / 0.6511 GB, free: 7.027 MB / 474.7 MB Warning: Assuming fixed start value for the following 3 variables: order4_Inputs_Outputs.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4_Inputs_Outputs.e1d:VARIABLE(start = order4_Inputs_Outputs.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_Inputs_Outputs.e1q:VARIABLE(start = order4_Inputs_Outputs.e1q0 unit = "1" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006584/0.648, allocations: 321.8 kB / 0.6514 GB, free: 6.703 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/0.6483, allocations: 110.6 kB / 0.6515 GB, free: 6.594 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/0.6622, allocations: 4.845 MB / 0.6562 GB, free: 1.734 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/0.6622, allocations: 8 kB / 0.6562 GB, free: 1.727 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6623, allocations: 3.984 kB / 0.6562 GB, free: 1.723 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.121e-05/0.6623, allocations: 3.984 kB / 0.6562 GB, free: 1.719 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.6792, allocations: 6.5 MB / 0.6626 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.6792, allocations: 0 / 0.6626 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006839/0.6799, allocations: 127.8 kB / 0.6627 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006099/0.686, allocations: 2.058 MB / 0.6647 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/0.6862, allocations: 16 kB / 0.6647 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/0.7045, allocations: 8.205 MB / 0.6727 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7045, allocations: 0 / 0.6727 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2331/0.9376, allocations: 5.81 MB / 0.6784 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.9382, allocations: 195.4 kB / 0.6786 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.9383, allocations: 21.25 kB / 0.6786 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.9394, allocations: 138.8 kB / 0.6787 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000642/0.94, allocations: 201.9 kB / 0.6789 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/0.9401, allocations: 23.25 kB / 0.679 GB, free: 127 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007368/0.9408, allocations: 0.5449 MB / 0.6795 GB, free: 126.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9409, allocations: 0 / 0.6795 GB, free: 126.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001797/0.9427, allocations: 0.6537 MB / 0.6801 GB, free: 126.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0002733/0.9429, allocations: 148.4 kB / 0.6803 GB, free: 126.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01072/0.9537, allocations: 4.24 MB / 0.6844 GB, free: 126.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.9537, allocations: 0 / 0.6844 GB, free: 126.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00464/0.9584, allocations: 1.744 MB / 0.6861 GB, free: 126.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.9595, allocations: 92.73 kB / 0.6862 GB, free: 126.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.9631, allocations: 2.41 MB / 0.6886 GB, free: 125.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/0.9637, allocations: 1.077 MB / 0.6896 GB, free: 124.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004491/0.9642, allocations: 78.27 kB / 0.6897 GB, free: 124.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.9644, allocations: 57.25 kB / 0.6897 GB, free: 124.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/0.9644, allocations: 0 / 0.6897 GB, free: 124.4 MB / 490.7 MB Notification: Performance of Templates: time 0.0431/1.007, allocations: 26.52 MB / 0.7156 GB, free: 122.9 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR.pipe 2>&1)