Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004286/0.00429, allocations: 362 kB / 15.95 MB, free: 6.203 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.156/4.156, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003626/0.003626, allocations: 231.1 kB / 451 MB, free: 145.1 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.5083/0.5083, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006346/0.0006349, allocations: 16 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1288, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5182/0.6471, allocations: 82.3 MB / 0.7605 GB, free: 3.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.6474, allocations: 72.34 kB / 0.7605 GB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03691/0.6844, allocations: 8.399 MB / 0.7687 GB, free: 12.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.6844, allocations: 0 / 0.7687 GB, free: 12.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.313e-05/0.6845, allocations: 12 kB / 0.7687 GB, free: 12.02 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001813/0.6863, allocations: 0.6696 MB / 0.7694 GB, free: 11.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.6864, allocations: 12.03 kB / 0.7694 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.6865, allocations: 55.34 kB / 0.7695 GB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.6871, allocations: 292.7 kB / 0.7697 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.6871, allocations: 30.94 kB / 0.7698 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.6873, allocations: 57.42 kB / 0.7698 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.6883, allocations: 430.7 kB / 0.7702 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.281e-05/0.6884, allocations: 14.28 kB / 0.7702 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.214e-05/0.6884, allocations: 17.94 kB / 0.7703 GB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.6885, allocations: 12 kB / 0.7703 GB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008408/0.6893, allocations: 315.8 kB / 0.7706 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.6919, allocations: 1.166 MB / 0.7717 GB, free: 9.395 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.6931, allocations: 489.5 kB / 0.7722 GB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.6936, allocations: 204.3 kB / 0.7724 GB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.6936, allocations: 8.438 kB / 0.7724 GB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.6937, allocations: 45.78 kB / 0.7724 GB, free: 8.793 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 3.316e-06/0.6937, allocations: 0 / 0.7724 GB, free: 8.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.004626/0.6983, allocations: 2.127 MB / 0.7745 GB, free: 6.934 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/0.6984, allocations: 89.66 kB / 0.7746 GB, free: 6.828 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.6988, allocations: 251.4 kB / 0.7748 GB, free: 6.617 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.6989, allocations: 32.89 kB / 0.7749 GB, free: 6.586 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.6991, allocations: 212.4 kB / 0.7751 GB, free: 6.418 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.6993, allocations: 271 kB / 0.7753 GB, free: 6.188 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.6994, allocations: 15 kB / 0.7753 GB, free: 6.184 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.6996, allocations: 355.7 kB / 0.7757 GB, free: 5.848 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/0.7, allocations: 154.7 kB / 0.7758 GB, free: 5.746 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005618/0.7006, allocations: 269.8 kB / 0.7761 GB, free: 5.508 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.7011, allocations: 203.8 kB / 0.7763 GB, free: 5.398 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7011, allocations: 0 / 0.7763 GB, free: 5.398 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001316/0.7025, allocations: 0.5664 MB / 0.7768 GB, free: 4.984 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.7025, allocations: 4 kB / 0.7768 GB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.7025, allocations: 4 kB / 0.7768 GB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.7026, allocations: 8 kB / 0.7768 GB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.7037, allocations: 182.7 kB / 0.777 GB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.7038, allocations: 4 kB / 0.777 GB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.7043, allocations: 22.69 kB / 0.777 GB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.7043, allocations: 31.56 kB / 0.7771 GB, free: 4.758 MB / 362.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 (97): * Single equations (assignments): 97 * 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.0003127/0.7046, allocations: 184 kB / 0.7772 GB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.7048, allocations: 51.39 kB / 0.7773 GB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.7049, allocations: 58.77 kB / 0.7773 GB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.705, allocations: 4 kB / 0.7774 GB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.705, allocations: 4 kB / 0.7774 GB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.085e-05/0.705, allocations: 7.922 kB / 0.7774 GB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.708, allocations: 1.448 MB / 0.7788 GB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.708, allocations: 4.031 kB / 0.7788 GB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/0.7094, allocations: 159.7 kB / 0.7789 GB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/0.7094, allocations: 4 kB / 0.7789 GB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/0.7095, allocations: 22.81 kB / 0.779 GB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/0.7095, allocations: 11.94 kB / 0.779 GB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.7095, allocations: 4 kB / 0.779 GB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.7113, allocations: 0.9074 MB / 0.7799 GB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.7116, allocations: 116.5 kB / 0.78 GB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.7117, allocations: 23.23 kB / 0.78 GB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000467/0.7122, allocations: 15.12 kB / 0.78 GB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.7123, allocations: 55.52 kB / 0.7801 GB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/0.7123, allocations: 23.62 kB / 0.7801 GB, free: 2.086 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002673/0.7126, allocations: 178.8 kB / 0.7803 GB, free: 1.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7126, allocations: 0 / 0.7803 GB, free: 1.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008403/0.7135, allocations: 144.1 kB / 0.7804 GB, free: 1.816 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001976/0.7137, allocations: 123 kB / 0.7805 GB, free: 1.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.7148, allocations: 450.9 kB / 0.7809 GB, free: 1.363 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7149, allocations: 0 / 0.7809 GB, free: 1.363 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.7154, allocations: 233.1 kB / 0.7812 GB, free: 1.184 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.7168, allocations: 117.6 kB / 0.7813 GB, free: 1.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.7214, allocations: 2.037 MB / 0.7833 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.722, allocations: 0.8605 MB / 0.7841 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003947/0.7224, allocations: 52.66 kB / 0.7842 GB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.7226, allocations: 47.44 kB / 0.7842 GB, free: 14.13 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.7226, allocations: 0 / 0.7842 GB, free: 14.13 MB / 378.7 MB Notification: Performance of Templates: time 0.01731/0.7399, allocations: 4.83 MB / 0.7889 GB, free: 9.355 MB / 378.7 MB