Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003808/0.003808, allocations: 352.3 kB / 15.95 MB, free: 6.215 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.981/3.981, allocations: 341.5 MB / 358.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003476/0.003476, allocations: 221.2 kB / 397.9 MB, free: 4.906 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4631/0.4631, allocations: 76.08 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000652/0.0006524, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08528/0.08598, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002104/0.08814, allocations: 1.536 MB / 0.6082 GB, free: 3.094 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008889/0.08907, allocations: 495 kB / 0.6087 GB, free: 2.609 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.08919, allocations: 0 / 0.6087 GB, free: 2.609 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.369e-05/0.08925, allocations: 19.86 kB / 0.6087 GB, free: 2.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.08941, allocations: 35.7 kB / 0.6088 GB, free: 2.555 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.08959, allocations: 23.97 kB / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.0898, allocations: 139.3 kB / 0.6089 GB, free: 2.395 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.08997, allocations: 57.62 kB / 0.609 GB, free: 2.332 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.09009, allocations: 47.8 kB / 0.609 GB, free: 2.285 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.09022, allocations: 55.72 kB / 0.6091 GB, free: 2.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.09025, allocations: 8 kB / 0.6091 GB, free: 2.223 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.195e-05/0.09029, allocations: 4 kB / 0.6091 GB, free: 2.219 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.09033, allocations: 23.91 kB / 0.6091 GB, free: 2.195 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.09038, allocations: 49.64 kB / 0.6092 GB, free: 2.141 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.09053, allocations: 111.9 kB / 0.6093 GB, free: 2.031 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.09054, allocations: 0 / 0.6093 GB, free: 2.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09055, allocations: 0 / 0.6093 GB, free: 2.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.09057, allocations: 0 / 0.6093 GB, free: 2.031 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005637/0.09114, allocations: 410.9 kB / 0.6097 GB, free: 1.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.0912, allocations: 8.031 kB / 0.6097 GB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.09125, allocations: 15.81 kB / 0.6097 GB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.09145, allocations: 198.8 kB / 0.6099 GB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.09148, allocations: 12 kB / 0.6099 GB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.09153, allocations: 15.98 kB / 0.6099 GB, free: 1.297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.09187, allocations: 133.6 kB / 0.61 GB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.0919, allocations: 0 / 0.61 GB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.09193, allocations: 7.953 kB / 0.61 GB, free: 1.152 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.09194, allocations: 4 kB / 0.61 GB, free: 1.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.09225, allocations: 83.95 kB / 0.6101 GB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2639/0.3562, allocations: 481.4 kB / 0.6106 GB, free: 90.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.3566, allocations: 119.2 kB / 0.6107 GB, free: 90.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.3569, allocations: 62.8 kB / 0.6107 GB, free: 90.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.3569, allocations: 3.656 kB / 0.6107 GB, free: 90.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.3569, allocations: 34.59 kB / 0.6108 GB, free: 90.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.086e-06/0.3569, allocations: 0 / 0.6108 GB, free: 90.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.002114/0.3591, allocations: 0.8128 MB / 0.6116 GB, free: 90.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.3591, allocations: 59.03 kB / 0.6116 GB, free: 90.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3593, allocations: 145.4 kB / 0.6118 GB, free: 90.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3593, allocations: 30.92 kB / 0.6118 GB, free: 90.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.3594, allocations: 110.7 kB / 0.6119 GB, free: 89.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.3595, allocations: 65.78 kB / 0.612 GB, free: 89.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.3595, allocations: 3.188 kB / 0.612 GB, free: 89.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.3596, allocations: 321.6 kB / 0.6123 GB, free: 89.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.3598, allocations: 50.19 kB / 0.6123 GB, free: 89.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.3599, allocations: 77.67 kB / 0.6124 GB, free: 89.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.3602, allocations: 61.88 kB / 0.6125 GB, free: 89.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3602, allocations: 0 / 0.6125 GB, free: 89.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006195/0.3608, allocations: 214.7 kB / 0.6127 GB, free: 89.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3609, allocations: 6.297 kB / 0.6127 GB, free: 89.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3609, allocations: 1.125 kB / 0.6127 GB, free: 89.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/0.3611, allocations: 41.86 kB / 0.6127 GB, free: 89.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.3615, allocations: 36.69 kB / 0.6127 GB, free: 89.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.3632, allocations: 1.56 MB / 0.6143 GB, free: 88.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.3634, allocations: 9.828 kB / 0.6143 GB, free: 88.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.3634, allocations: 5 kB / 0.6143 GB, free: 88.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.3636, allocations: 133.9 kB / 0.6144 GB, free: 88.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.3636, allocations: 10.88 kB / 0.6144 GB, free: 88.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.82e-05/0.3637, allocations: 21.14 kB / 0.6144 GB, free: 88.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3637, allocations: 2.312 kB / 0.6144 GB, free: 88.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3637, allocations: 3 kB / 0.6144 GB, free: 88.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.3638, allocations: 98.8 kB / 0.6145 GB, free: 87.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.3638, allocations: 5.312 kB / 0.6145 GB, free: 87.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.364, allocations: 11.08 kB / 0.6146 GB, free: 87.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.3641, allocations: 13.64 kB / 0.6146 GB, free: 87.95 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009365/0.365, allocations: 307.4 kB / 0.6149 GB, free: 87.82 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006983/0.3658, allocations: 402.4 kB / 0.6152 GB, free: 87.61 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001919/0.366, allocations: 58.3 kB / 0.6153 GB, free: 87.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.25e-05/0.3661, allocations: 115.6 kB / 0.6154 GB, free: 87.53 MB / 362.7 MB Notification: Performance of Backend: time 9.32e-07/0.3661, allocations: 0 / 0.6154 GB, free: 87.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008996/0.367, allocations: 295.4 kB / 0.6157 GB, free: 87.34 MB / 362.7 MB Notification: Performance of SimCode: time 0.001249/0.3683, allocations: 0.9854 MB / 0.6167 GB, free: 86.61 MB / 362.7 MB Notification: Performance of Templates: time 0.006612/0.3749, allocations: 1.525 MB / 0.6181 GB, free: 86.57 MB / 362.7 MB