Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.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.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004011/0.004017, allocations: 359 kB / 15.95 MB, free: 6.195 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.38/4.38, allocations: 388.9 MB / 405.6 MB, free: 9.574 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.003543/0.003543, allocations: 232 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.5188/0.5188, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004898, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1084, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4912/0.5997, allocations: 85.07 MB / 0.7632 GB, free: 292 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.6, allocations: 72.91 kB / 0.7632 GB, free: 252 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02392/0.624, allocations: 5.533 MB / 0.7686 GB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.624, allocations: 4 kB / 0.7686 GB, free: 11.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.6241, allocations: 8 kB / 0.7686 GB, free: 11.49 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002205/0.6263, allocations: 0.6384 MB / 0.7693 GB, free: 10.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.6264, allocations: 8.031 kB / 0.7693 GB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.6266, allocations: 43.53 kB / 0.7693 GB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.6272, allocations: 277.7 kB / 0.7696 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.6272, allocations: 28.44 kB / 0.7696 GB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.841e-05/0.6273, allocations: 47.97 kB / 0.7697 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.6283, allocations: 338 kB / 0.77 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.6284, allocations: 3.812 kB / 0.77 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.6285, allocations: 23.45 kB / 0.77 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.6285, allocations: 12 kB / 0.77 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.6296, allocations: 309.7 kB / 0.7703 GB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003331/0.6329, allocations: 1.342 MB / 0.7716 GB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000838/0.6338, allocations: 294.2 kB / 0.7719 GB, free: 8.574 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/0.6343, allocations: 166.7 kB / 0.7721 GB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.6343, allocations: 4.281 kB / 0.7721 GB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.6344, allocations: 34.78 kB / 0.7721 GB, free: 8.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 3.156e-06/0.6344, allocations: 4 kB / 0.7721 GB, free: 8.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001372/0.6358, allocations: 392.1 kB / 0.7725 GB, free: 8.129 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.6358, allocations: 59.34 kB / 0.7725 GB, free: 8.059 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.6362, allocations: 267.9 kB / 0.7728 GB, free: 7.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.6363, allocations: 28.52 kB / 0.7728 GB, free: 7.809 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.6365, allocations: 202.8 kB / 0.773 GB, free: 7.641 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.6366, allocations: 123.4 kB / 0.7731 GB, free: 7.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.6366, allocations: 10.25 kB / 0.7731 GB, free: 7.531 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6368, allocations: 336.3 kB / 0.7735 GB, free: 7.207 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.6372, allocations: 112 kB / 0.7736 GB, free: 7.129 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.6377, allocations: 170.4 kB / 0.7737 GB, free: 6.977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.6381, allocations: 137.7 kB / 0.7739 GB, free: 6.895 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6382, allocations: 0 / 0.7739 GB, free: 6.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00109/0.6393, allocations: 371 kB / 0.7742 GB, free: 6.617 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.6393, allocations: 4 kB / 0.7742 GB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.6393, allocations: 8 kB / 0.7742 GB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.6393, allocations: 4 kB / 0.7742 GB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009005/0.6403, allocations: 115.5 kB / 0.7743 GB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.6403, allocations: 4 kB / 0.7743 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.6408, allocations: 42.95 kB / 0.7744 GB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.6408, allocations: 11.5 kB / 0.7744 GB, free: 6.441 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * 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.0002682/0.6411, allocations: 154.3 kB / 0.7745 GB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.191e-05/0.6412, allocations: 27.62 kB / 0.7746 GB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.6423, allocations: 341 kB / 0.7749 GB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.6423, allocations: 4 kB / 0.7749 GB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.6423, allocations: 3.953 kB / 0.7749 GB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6423, allocations: 0 / 0.7749 GB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006589/0.643, allocations: 408.5 kB / 0.7753 GB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.643, allocations: 4 kB / 0.7753 GB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007742/0.6438, allocations: 87.56 kB / 0.7754 GB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/0.6438, allocations: 4 kB / 0.7754 GB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.6439, allocations: 11.06 kB / 0.7754 GB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.6439, allocations: 4 kB / 0.7754 GB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6439, allocations: 0 / 0.7754 GB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.6453, allocations: 0.5285 MB / 0.7759 GB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.6455, allocations: 132.8 kB / 0.776 GB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.363e-05/0.6456, allocations: 7.375 kB / 0.776 GB, free: 5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.646, allocations: 15.44 kB / 0.7761 GB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.6461, allocations: 23.41 kB / 0.7761 GB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.6461, allocations: 11.55 kB / 0.7761 GB, free: 4.961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002753/0.6464, allocations: 189 kB / 0.7763 GB, free: 4.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6464, allocations: 0 / 0.7763 GB, free: 4.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005211/0.647, allocations: 97.23 kB / 0.7764 GB, free: 4.723 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * 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.0001593/0.6471, allocations: 105.9 kB / 0.7765 GB, free: 4.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.6481, allocations: 284.6 kB / 0.7767 GB, free: 4.406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6482, allocations: 0 / 0.7767 GB, free: 4.406 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.6486, allocations: 143.2 kB / 0.7769 GB, free: 4.301 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.6492, allocations: 32.5 kB / 0.7769 GB, free: 4.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.6515, allocations: 0.9426 MB / 0.7778 GB, free: 3.363 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.652, allocations: 0.7952 MB / 0.7786 GB, free: 2.543 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004098/0.6524, allocations: 34.95 kB / 0.7786 GB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.6526, allocations: 30.81 kB / 0.7787 GB, free: 2.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6526, allocations: 0 / 0.7787 GB, free: 2.48 MB / 362.7 MB Notification: Performance of Templates: time 0.009408/0.662, allocations: 2.362 MB / 0.781 GB, free: 140 kB / 362.7 MB