Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.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.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002712/0.002717, allocations: 371.3 kB / 15.97 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 3.848/3.848, allocations: 388.9 MB / 405.6 MB, free: 48.56 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005248/0.005248, allocations: 232.7 kB / 451 MB, free: 3.031 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.8397/0.8397, allocations: 80.02 MB / 0.5627 GB, free: 6.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006269/0.000627, allocations: 15.98 kB / 0.6265 GB, free: 4.824 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1209, allocations: 54.88 MB / 0.6801 GB, free: 13.8 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003409/0.1244, allocations: 1.999 MB / 0.6821 GB, free: 11.79 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1261, allocations: 0.7377 MB / 0.6828 GB, free: 11.05 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.1262, allocations: 4 kB / 0.6828 GB, free: 11.04 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.1264, allocations: 47.69 kB / 0.6828 GB, free: 11 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.1268, allocations: 79.45 kB / 0.6829 GB, free: 10.92 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.1271, allocations: 71.86 kB / 0.683 GB, free: 10.85 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.1275, allocations: 310.8 kB / 0.6833 GB, free: 10.54 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.1278, allocations: 73.14 kB / 0.6833 GB, free: 10.46 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.128, allocations: 115.5 kB / 0.6835 GB, free: 10.35 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.1283, allocations: 131.4 kB / 0.6836 GB, free: 10.22 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.609e-05/0.1283, allocations: 16 kB / 0.6836 GB, free: 10.21 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.59e-05/0.1284, allocations: 16 kB / 0.6836 GB, free: 10.19 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.998e-05/0.1285, allocations: 51.75 kB / 0.6837 GB, free: 10.14 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.246e-05/0.1286, allocations: 73.58 kB / 0.6837 GB, free: 10.06 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.129, allocations: 259.5 kB / 0.684 GB, free: 9.809 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.129, allocations: 0 / 0.684 GB, free: 9.809 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.129, allocations: 4 kB / 0.684 GB, free: 9.805 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.129, allocations: 0 / 0.684 GB, free: 9.805 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001391/0.1304, allocations: 0.569 MB / 0.6845 GB, free: 9.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1305, allocations: 12.03 kB / 0.6846 GB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/0.1306, allocations: 27.62 kB / 0.6846 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.131, allocations: 258.4 kB / 0.6848 GB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.131, allocations: 24.52 kB / 0.6848 GB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.1311, allocations: 24 kB / 0.6849 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007747/0.1319, allocations: 252.8 kB / 0.6851 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1319, allocations: 0 / 0.6851 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.026e-05/0.1319, allocations: 12 kB / 0.6851 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.132, allocations: 4 kB / 0.6851 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008552/0.1328, allocations: 246.1 kB / 0.6854 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.135, allocations: 0.8714 MB / 0.6862 GB, free: 7.363 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008699/0.1359, allocations: 298.9 kB / 0.6865 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/0.1364, allocations: 152.8 kB / 0.6866 GB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.064e-05/0.1364, allocations: 11.92 kB / 0.6867 GB, free: 6.898 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1365, allocations: 34.56 kB / 0.6867 GB, free: 6.855 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 5.2e-06/0.1365, allocations: 0 / 0.6867 GB, free: 6.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.007961/0.1444, allocations: 1.27 MB / 0.6879 GB, free: 5.492 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1445, allocations: 59.39 kB / 0.688 GB, free: 5.422 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.1449, allocations: 209 kB / 0.6882 GB, free: 5.211 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.1449, allocations: 29.7 kB / 0.6882 GB, free: 5.176 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.1451, allocations: 161.1 kB / 0.6884 GB, free: 5.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.1452, allocations: 110.4 kB / 0.6885 GB, free: 4.906 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.1453, allocations: 8 kB / 0.6885 GB, free: 4.898 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1454, allocations: 338.8 kB / 0.6888 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.1458, allocations: 95.95 kB / 0.6889 GB, free: 4.465 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.1463, allocations: 125.8 kB / 0.689 GB, free: 4.336 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.1467, allocations: 109.4 kB / 0.6891 GB, free: 4.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.1467, allocations: 0 / 0.6891 GB, free: 4.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003112/0.1499, allocations: 0.5522 MB / 0.6897 GB, free: 3.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.1499, allocations: 11.91 kB / 0.6897 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.1499, allocations: 0 / 0.6897 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002857/0.1528, allocations: 319.1 kB / 0.69 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.1532, allocations: 35.91 kB / 0.69 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3166/0.4697, allocations: 6.309 MB / 0.6962 GB, free: 77.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.4702, allocations: 32.94 kB / 0.6962 GB, free: 77.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.4702, allocations: 7.062 kB / 0.6962 GB, free: 77.44 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001927/0.4704, allocations: 142.4 kB / 0.6963 GB, free: 77.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.4705, allocations: 24.03 kB / 0.6964 GB, free: 77.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.4734, allocations: 0.561 MB / 0.6969 GB, free: 77.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.4735, allocations: 6.047 kB / 0.6969 GB, free: 77.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.4735, allocations: 4.5 kB / 0.6969 GB, free: 77.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.4736, allocations: 97.94 kB / 0.697 GB, free: 77.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.4737, allocations: 8.562 kB / 0.697 GB, free: 77.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.474, allocations: 14 kB / 0.697 GB, free: 77.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.4742, allocations: 38.06 kB / 0.6971 GB, free: 77.14 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00288/0.4771, allocations: 0.6064 MB / 0.6977 GB, free: 76.98 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00139/0.4785, allocations: 0.6036 MB / 0.6983 GB, free: 76.75 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003952/0.479, allocations: 116.8 kB / 0.6984 GB, free: 76.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001923/0.4792, allocations: 157.8 kB / 0.6985 GB, free: 76.66 MB / 394.7 MB Notification: Performance of Backend: time 9.12e-07/0.4792, allocations: 1.062 kB / 0.6985 GB, free: 76.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.4808, allocations: 0.743 MB / 0.6992 GB, free: 76.13 MB / 394.7 MB Notification: Performance of SimCode: time 0.001372/0.4822, allocations: 1.194 MB / 0.7004 GB, free: 75.26 MB / 394.7 MB Notification: Performance of Templates: time 0.015/0.4972, allocations: 5.555 MB / 0.7058 GB, free: 75.21 MB / 394.7 MB