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.002888/0.002893, allocations: 360.9 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.143/4.143, allocations: 388.9 MB / 405.6 MB, free: 10.31 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.00366/0.00366, allocations: 225.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.5556/0.5556, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007816/0.000782, allocations: 19.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1271, allocations: 54.85 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6082/0.7354, allocations: 83.32 MB / 0.7615 GB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.7358, allocations: 73.53 kB / 0.7615 GB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02909/0.7649, allocations: 6.559 MB / 0.7679 GB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.7649, allocations: 0 / 0.7679 GB, free: 12.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.765, allocations: 8 kB / 0.7679 GB, free: 12.43 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001403/0.7664, allocations: 0.5527 MB / 0.7685 GB, free: 11.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.7664, allocations: 8.031 kB / 0.7685 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.7666, allocations: 35.58 kB / 0.7685 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006704/0.7672, allocations: 282.4 kB / 0.7688 GB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.7673, allocations: 23.8 kB / 0.7688 GB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.7674, allocations: 23.31 kB / 0.7688 GB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007872/0.7682, allocations: 245.8 kB / 0.7691 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.7682, allocations: 0 / 0.7691 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.7683, allocations: 13.56 kB / 0.7691 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.7683, allocations: 4 kB / 0.7691 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000864/0.7691, allocations: 245.5 kB / 0.7693 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.7713, allocations: 0.8814 MB / 0.7702 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000884/0.7722, allocations: 321.7 kB / 0.7705 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004913/0.7728, allocations: 149.9 kB / 0.7706 GB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.358e-05/0.7728, allocations: 4 kB / 0.7706 GB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.7729, allocations: 34.25 kB / 0.7707 GB, free: 10.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 3.637e-06/0.7729, allocations: 7.938 kB / 0.7707 GB, free: 10.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.007871/0.7808, allocations: 1.243 MB / 0.7719 GB, free: 8.816 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.7809, allocations: 55.41 kB / 0.7719 GB, free: 8.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.7812, allocations: 212.1 kB / 0.7721 GB, free: 8.562 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.7813, allocations: 36.33 kB / 0.7722 GB, free: 8.527 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.7815, allocations: 156.7 kB / 0.7723 GB, free: 8.398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.7816, allocations: 107.9 kB / 0.7724 GB, free: 8.305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.7816, allocations: 6.5 kB / 0.7724 GB, free: 8.305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.7818, allocations: 336.6 kB / 0.7728 GB, free: 7.977 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/0.7822, allocations: 104.3 kB / 0.7729 GB, free: 7.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.7826, allocations: 123.2 kB / 0.773 GB, free: 7.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.7831, allocations: 118.6 kB / 0.7731 GB, free: 7.742 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7831, allocations: 0 / 0.7731 GB, free: 7.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003084/0.7862, allocations: 0.5484 MB / 0.7736 GB, free: 7.289 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.7863, allocations: 4 kB / 0.7736 GB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.7863, allocations: 0 / 0.7736 GB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002872/0.7892, allocations: 317.4 kB / 0.7739 GB, free: 7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.7896, allocations: 31.36 kB / 0.774 GB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.8004, allocations: 6.337 MB / 0.7801 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.801, allocations: 38.64 kB / 0.7802 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.801, allocations: 4 kB / 0.7802 GB, free: 0.6953 MB / 362.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.0002527/0.8013, allocations: 138.5 kB / 0.7803 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.8014, allocations: 23.72 kB / 0.7803 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003089/0.8045, allocations: 0.559 MB / 0.7809 GB, free: 104 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.8045, allocations: 4 kB / 0.7809 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.8045, allocations: 3.953 kB / 0.7809 GB, free: 96 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.8046, allocations: 7.938 kB / 0.7809 GB, free: 88 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006966/0.8053, allocations: 354.6 kB / 0.7812 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.8053, allocations: 4 kB / 0.7812 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.8055, allocations: 23.42 kB / 0.7813 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002609/0.8082, allocations: 308.9 kB / 0.7816 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.8082, allocations: 3.312 kB / 0.7816 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/0.8207, allocations: 6.269 MB / 0.7877 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8208, allocations: 0 / 0.7877 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004524/0.8253, allocations: 0.621 MB / 0.7883 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.8256, allocations: 104.5 kB / 0.7884 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.13e-05/0.8257, allocations: 7.516 kB / 0.7884 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005434/0.8262, allocations: 27.78 kB / 0.7884 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.8265, allocations: 31.45 kB / 0.7885 GB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.8266, allocations: 7.75 kB / 0.7885 GB, free: 8.574 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003274/0.8269, allocations: 158.2 kB / 0.7886 GB, free: 8.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.8269, allocations: 0 / 0.7886 GB, free: 8.441 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001216/0.8281, allocations: 121.9 kB / 0.7887 GB, free: 8.336 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * 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,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000251/0.8284, allocations: 114.5 kB / 0.7888 GB, free: 8.223 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.8306, allocations: 0.7503 MB / 0.7896 GB, free: 7.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8306, allocations: 3.938 kB / 0.7896 GB, free: 7.516 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.8326, allocations: 0.6708 MB / 0.7902 GB, free: 6.859 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007126/0.8333, allocations: 27.41 kB / 0.7903 GB, free: 6.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.8352, allocations: 0.6463 MB / 0.7909 GB, free: 6.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.8358, allocations: 0.7756 MB / 0.7916 GB, free: 5.418 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.8359, allocations: 9.953 kB / 0.7917 GB, free: 5.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.836, allocations: 11.44 kB / 0.7917 GB, free: 5.398 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.836, allocations: 7.938 kB / 0.7917 GB, free: 5.391 MB / 378.7 MB Notification: Performance of Templates: time 0.02739/0.8634, allocations: 7.464 MB / 0.799 GB, free: 13.99 MB / 394.7 MB