Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004409/0.004415, allocations: 362.2 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.168/4.168, allocations: 388.9 MB / 405.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003584/0.003583, allocations: 235.3 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5147/0.5147, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004699, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1032, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5344/0.6376, allocations: 89.65 MB / 0.7676 GB, free: 11.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.638, allocations: 70.53 kB / 0.7677 GB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06952/0.7075, allocations: 13.76 MB / 0.7811 GB, free: 56 kB / 362.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.7076, allocations: 4 kB / 0.7811 GB, free: 52 kB / 362.7 MB Notification: Performance of Transformations before backend: time 9.421e-05/0.7077, allocations: 24.16 kB / 0.7812 GB, free: 28 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.004121/0.7118, allocations: 1.029 MB / 0.7822 GB, free: 15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.7119, allocations: 8.031 kB / 0.7822 GB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004249/0.7124, allocations: 90.91 kB / 0.7823 GB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.7143, allocations: 0.5318 MB / 0.7828 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.816e-05/0.7145, allocations: 38.44 kB / 0.7828 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.7146, allocations: 56.84 kB / 0.7829 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.7165, allocations: 0.5477 MB / 0.7834 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.7166, allocations: 7.625 kB / 0.7834 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.499e-05/0.7167, allocations: 17.25 kB / 0.7834 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.7167, allocations: 12 kB / 0.7834 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.7187, allocations: 475.1 kB / 0.7839 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006134/0.7249, allocations: 1.966 MB / 0.7858 GB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/0.7272, allocations: 0.5787 MB / 0.7864 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.7284, allocations: 274.1 kB / 0.7866 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.148e-05/0.7285, allocations: 7.984 kB / 0.7866 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.7286, allocations: 40.91 kB / 0.7867 GB, free: 11.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.448e-06/0.7286, allocations: 0 / 0.7867 GB, free: 11.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.004835/0.7334, allocations: 1.16 MB / 0.7878 GB, free: 10.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000225/0.7337, allocations: 136.5 kB / 0.7879 GB, free: 9.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/0.7364, allocations: 0.5938 MB / 0.7885 GB, free: 9.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000203/0.7366, allocations: 36.52 kB / 0.7886 GB, free: 9.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.737, allocations: 323 kB / 0.7889 GB, free: 9.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.7373, allocations: 166.2 kB / 0.789 GB, free: 9.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.7374, allocations: 18.62 kB / 0.789 GB, free: 9.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003847/0.7378, allocations: 381.8 kB / 0.7894 GB, free: 8.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/0.7398, allocations: 272.3 kB / 0.7897 GB, free: 8.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/0.7423, allocations: 395.6 kB / 0.79 GB, free: 8.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/0.7447, allocations: 311.7 kB / 0.7903 GB, free: 8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.7447, allocations: 0 / 0.7903 GB, free: 8 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.005234/0.75, allocations: 0.7721 MB / 0.7911 GB, free: 7.391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002481/0.7503, allocations: 173 kB / 0.7913 GB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.7503, allocations: 7.953 kB / 0.7913 GB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.701e-05/0.7504, allocations: 4 kB / 0.7913 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.7523, allocations: 147.7 kB / 0.7914 GB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-05/0.7524, allocations: 8 kB / 0.7914 GB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.7536, allocations: 101.8 kB / 0.7915 GB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/0.7537, allocations: 23.48 kB / 0.7915 GB, free: 6.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.7537, allocations: 4 kB / 0.7915 GB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002482/0.7562, allocations: 0.6506 MB / 0.7922 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.7562, allocations: 4 kB / 0.7922 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.7563, allocations: 4 kB / 0.7922 GB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.7575, allocations: 149.5 kB / 0.7923 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.7575, allocations: 11.92 kB / 0.7923 GB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.7586, allocations: 83.75 kB / 0.7924 GB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-05/0.7587, allocations: 22.31 kB / 0.7924 GB, free: 6.188 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (68): * Single equations (assignments): 68 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005711/0.7593, allocations: 271.4 kB / 0.7927 GB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.7595, allocations: 71.09 kB / 0.7928 GB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.7598, allocations: 83.27 kB / 0.7929 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.7598, allocations: 8 kB / 0.7929 GB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.7598, allocations: 0 / 0.7929 GB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.7598, allocations: 3.984 kB / 0.7929 GB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.7619, allocations: 0.8149 MB / 0.7937 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.7619, allocations: 4 kB / 0.7937 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.7633, allocations: 115.4 kB / 0.7938 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.7633, allocations: 0 / 0.7938 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.008e-05/0.7634, allocations: 15.44 kB / 0.7938 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/0.7635, allocations: 7.938 kB / 0.7938 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.7635, allocations: 4 kB / 0.7938 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003757/0.7672, allocations: 1.181 MB / 0.795 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/0.7678, allocations: 193.2 kB / 0.7951 GB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.7679, allocations: 10.94 kB / 0.7951 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.7691, allocations: 67.06 kB / 0.7952 GB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.7693, allocations: 35.12 kB / 0.7952 GB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/0.7694, allocations: 15.31 kB / 0.7953 GB, free: 3.719 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001088/0.7704, allocations: 430.3 kB / 0.7957 GB, free: 3.391 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.846e-06/0.7705, allocations: 3.938 kB / 0.7957 GB, free: 3.387 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001238/0.7717, allocations: 190.1 kB / 0.7959 GB, free: 3.223 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002826/0.772, allocations: 139.4 kB / 0.796 GB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003773/0.7758, allocations: 0.9583 MB / 0.7969 GB, free: 2.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7759, allocations: 0 / 0.7969 GB, free: 2.344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.7771, allocations: 311.3 kB / 0.7972 GB, free: 2.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.7788, allocations: 151.4 kB / 0.7974 GB, free: 1.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.7832, allocations: 1.63 MB / 0.799 GB, free: 464 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000819/0.7841, allocations: 0.9371 MB / 0.7999 GB, free: 15.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001058/0.7852, allocations: 148.5 kB / 0.8 GB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.7855, allocations: 43.31 kB / 0.8001 GB, free: 15.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.383e-06/0.7855, allocations: 0 / 0.8001 GB, free: 15.3 MB / 394.7 MB Notification: Performance of Templates: time 0.02164/0.8071, allocations: 6.323 MB / 0.8062 GB, free: 9.051 MB / 394.7 MB