Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002609/0.002615, allocations: 342.6 kB / 15.94 MB, free: 6.223 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.365/3.365, allocations: 341.5 MB / 358.2 MB, free: 28.63 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003521/0.003521, allocations: 212.1 kB / 397.8 MB, free: 6.004 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5265/0.5265, allocations: 76.1 MB / 0.5014 GB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004712, allocations: 12 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08267/0.08316, allocations: 48.71 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4775/0.5607, allocations: 75.92 MB / 0.6809 GB, free: 11.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.561, allocations: 68.09 kB / 0.6809 GB, free: 11.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05023/0.6113, allocations: 8.396 MB / 0.6891 GB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.797e-06/0.6114, allocations: 3.938 kB / 0.6891 GB, free: 4.801 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.114e-05/0.6114, allocations: 12 kB / 0.6891 GB, free: 4.789 MB / 314.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.002184/0.6136, allocations: 0.6728 MB / 0.6898 GB, free: 4.102 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.6137, allocations: 8.031 kB / 0.6898 GB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.614, allocations: 59.3 kB / 0.6899 GB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007491/0.6148, allocations: 290.2 kB / 0.6901 GB, free: 3.734 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/0.6149, allocations: 38.38 kB / 0.6902 GB, free: 3.715 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.615, allocations: 52.34 kB / 0.6902 GB, free: 3.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.6165, allocations: 428.2 kB / 0.6906 GB, free: 3.371 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.508e-05/0.6166, allocations: 11.91 kB / 0.6907 GB, free: 3.359 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.607e-05/0.6167, allocations: 21.56 kB / 0.6907 GB, free: 3.355 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.6168, allocations: 15.98 kB / 0.6907 GB, free: 3.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.6179, allocations: 321.2 kB / 0.691 GB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003703/0.6217, allocations: 1.163 MB / 0.6921 GB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.6228, allocations: 478.8 kB / 0.6926 GB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.6233, allocations: 212.4 kB / 0.6928 GB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.6233, allocations: 8.438 kB / 0.6928 GB, free: 1.598 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.6234, allocations: 42.22 kB / 0.6928 GB, free: 1.551 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 4.038e-06/0.6234, allocations: 0 / 0.6928 GB, free: 1.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.004366/0.6277, allocations: 2.134 MB / 0.6949 GB, free: 15.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.6279, allocations: 85.67 kB / 0.695 GB, free: 15.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.6283, allocations: 251.5 kB / 0.6952 GB, free: 15.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/0.6283, allocations: 39.64 kB / 0.6953 GB, free: 15.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.6285, allocations: 205.4 kB / 0.6955 GB, free: 15.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.6288, allocations: 264.4 kB / 0.6957 GB, free: 14.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.6288, allocations: 17.31 kB / 0.6957 GB, free: 14.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.629, allocations: 355 kB / 0.6961 GB, free: 14.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.6295, allocations: 157.2 kB / 0.6962 GB, free: 14.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.63, allocations: 271.9 kB / 0.6965 GB, free: 14.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005778/0.6306, allocations: 201.9 kB / 0.6967 GB, free: 14.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.679e-06/0.6306, allocations: 7.938 kB / 0.6967 GB, free: 14.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001359/0.632, allocations: 0.5544 MB / 0.6972 GB, free: 13.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.6321, allocations: 11.59 kB / 0.6972 GB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.6321, allocations: 0 / 0.6972 GB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.6321, allocations: 8 kB / 0.6973 GB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.6333, allocations: 183 kB / 0.6974 GB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.432e-05/0.6333, allocations: 11.95 kB / 0.6974 GB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/0.6338, allocations: 18.81 kB / 0.6975 GB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/0.6339, allocations: 34.55 kB / 0.6975 GB, free: 13.5 MB / 330.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.0003552/0.6343, allocations: 182.1 kB / 0.6977 GB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.6344, allocations: 47.44 kB / 0.6977 GB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.6346, allocations: 58.08 kB / 0.6978 GB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.6346, allocations: 8 kB / 0.6978 GB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.6346, allocations: 0 / 0.6978 GB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.6346, allocations: 7.938 kB / 0.6978 GB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.6377, allocations: 1.443 MB / 0.6992 GB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.6377, allocations: 8.062 kB / 0.6992 GB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/0.6395, allocations: 159.2 kB / 0.6993 GB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.468e-05/0.6396, allocations: 8 kB / 0.6994 GB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/0.6397, allocations: 22.94 kB / 0.6994 GB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.172e-05/0.6398, allocations: 7.953 kB / 0.6994 GB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.457e-06/0.6398, allocations: 4 kB / 0.6994 GB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.6418, allocations: 0.901 MB / 0.7003 GB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.6421, allocations: 116.5 kB / 0.7004 GB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.6422, allocations: 25.8 kB / 0.7004 GB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.6427, allocations: 18.25 kB / 0.7004 GB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.6428, allocations: 54.52 kB / 0.7005 GB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/0.6429, allocations: 23.06 kB / 0.7005 GB, free: 10.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002645/0.6432, allocations: 183.2 kB / 0.7007 GB, free: 10.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6432, allocations: 0 / 0.7007 GB, free: 10.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008396/0.644, allocations: 143.9 kB / 0.7008 GB, free: 10.57 MB / 330.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.0002087/0.6442, allocations: 124.1 kB / 0.7009 GB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.6454, allocations: 447.5 kB / 0.7014 GB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6454, allocations: 0 / 0.7014 GB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005069/0.6459, allocations: 232.7 kB / 0.7016 GB, free: 9.938 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.6473, allocations: 129.5 kB / 0.7017 GB, free: 9.852 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005731/0.6531, allocations: 2.026 MB / 0.7037 GB, free: 7.871 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.6542, allocations: 0.8605 MB / 0.7045 GB, free: 6.984 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007335/0.655, allocations: 56.66 kB / 0.7046 GB, free: 6.926 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.6554, allocations: 43.42 kB / 0.7046 GB, free: 6.883 MB / 330.7 MB Notification: Performance of SimCode: time 1.683e-06/0.6554, allocations: 4 kB / 0.7046 GB, free: 6.879 MB / 330.7 MB Notification: Performance of Templates: time 0.02568/0.6811, allocations: 4.81 MB / 0.7093 GB, free: 2.117 MB / 330.7 MB