Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="empty",numberOfIntervals=9332,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="empty",numberOfIntervals=9332,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 197 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.389/0.389, allocations: 39.94 MB / 309.7 MB, free: 9.34 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001743, allocations: 67.89 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1671, allocations: 56.88 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.006382/0.1735, allocations: 3.428 MB / 437.9 MB, free: 252 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.1759, allocations: 0.8342 MB / 438.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.1762, allocations: 8 kB / 438.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1765, allocations: 75.23 kB / 438.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.1768, allocations: 126.8 kB / 439 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.1773, allocations: 119.9 kB / 439.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007679/0.1781, allocations: 0.5217 MB / 439.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004558/0.1786, allocations: 245.8 kB / 439.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00033/0.1789, allocations: 207.3 kB / 440 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.1792, allocations: 242.9 kB / 440.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.1793, allocations: 48 kB / 440.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.073e-05/0.1794, allocations: 48 kB / 440.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1795, allocations: 111.6 kB / 440.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.1798, allocations: 246.9 kB / 440.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005647/0.1803, allocations: 0.549 MB / 441.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.1804, allocations: 0 / 441.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1804, allocations: 0 / 441.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.1804, allocations: 0 / 441.3 MB, free: 12.87 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00146/0.1819, allocations: 0.7677 MB / 442 MB, free: 12.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.1819, allocations: 11.89 kB / 442 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.691e-05/0.182, allocations: 56.38 kB / 442.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.1824, allocations: 313.4 kB / 442.4 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.482e-05/0.1825, allocations: 33.38 kB / 442.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.809e-05/0.1826, allocations: 52.28 kB / 442.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000836/0.1835, allocations: 471.2 kB / 442.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.1835, allocations: 0 / 442.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.1835, allocations: 16 kB / 443 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.1836, allocations: 16 kB / 443 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006934/0.1843, allocations: 323.8 kB / 443.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.1871, allocations: 1.686 MB / 445 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.1877, allocations: 241 kB / 445.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.1881, allocations: 137.6 kB / 445.4 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.1881, allocations: 4 kB / 445.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.1882, allocations: 46.5 kB / 445.4 MB, free: 8.488 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/0.1882, allocations: 0 / 445.4 MB, free: 8.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.003719/0.1919, allocations: 1.322 MB / 446.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.192, allocations: 85.05 kB / 446.8 MB, free: 6.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.1924, allocations: 266.5 kB / 447.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.1925, allocations: 33.7 kB / 447.1 MB, free: 6.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.1927, allocations: 263.4 kB / 447.4 MB, free: 6.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.1929, allocations: 118.3 kB / 447.5 MB, free: 6.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.193, allocations: 78.05 kB / 447.5 MB, free: 6.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.1933, allocations: 338.8 kB / 447.9 MB, free: 5.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.1935, allocations: 112.8 kB / 448 MB, free: 5.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.194, allocations: 216.3 kB / 448.2 MB, free: 5.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006943/0.1947, allocations: 335.7 kB / 448.5 MB, free: 5.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.1947, allocations: 4 kB / 448.5 MB, free: 5.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000933/0.1956, allocations: 417.9 kB / 448.9 MB, free: 4.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.1957, allocations: 15.38 kB / 449 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1957, allocations: 0 / 449 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.1959, allocations: 40.77 kB / 449 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.1964, allocations: 127.8 kB / 449.1 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.1979, allocations: 1.43 MB / 450.6 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.1982, allocations: 20.03 kB / 450.6 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.1983, allocations: 16 kB / 450.6 MB, free: 2.883 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002705/0.1985, allocations: 169.6 kB / 450.8 MB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.176e-05/0.1986, allocations: 27.62 kB / 450.8 MB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.998e-05/0.1987, allocations: 42.17 kB / 450.8 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1987, allocations: 4 kB / 450.8 MB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1988, allocations: 4.062 kB / 450.8 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1988, allocations: 0 / 450.8 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.2001, allocations: 0.7112 MB / 451.5 MB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2001, allocations: 3.938 kB / 451.5 MB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.2005, allocations: 96 kB / 451.6 MB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.2006, allocations: 28.92 kB / 451.7 MB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.2007, allocations: 11.94 kB / 451.7 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/0.2021, allocations: 1.43 MB / 453.1 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.2021, allocations: 3.938 kB / 453.1 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3236/0.5257, allocations: 0.5977 MB / 453.7 MB, free: 51.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.526, allocations: 127 kB / 453.8 MB, free: 51.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.526, allocations: 9.672 kB / 453.8 MB, free: 51.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.5263, allocations: 22.97 kB / 453.9 MB, free: 51.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.755e-05/0.5264, allocations: 23.03 kB / 453.9 MB, free: 51.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.5264, allocations: 14.5 kB / 453.9 MB, free: 51.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.5266, allocations: 184.7 kB / 454.1 MB, free: 51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5266, allocations: 0 / 454.1 MB, free: 51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005386/0.5272, allocations: 92.72 kB / 454.2 MB, free: 51 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001617/0.5273, allocations: 111.2 kB / 454.3 MB, free: 50.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.5284, allocations: 413.7 kB / 454.7 MB, free: 50.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.5284, allocations: 0.5625 kB / 454.7 MB, free: 50.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.5288, allocations: 254.9 kB / 454.9 MB, free: 50.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006418/0.5294, allocations: 39.09 kB / 455 MB, free: 50.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.5311, allocations: 0.9092 MB / 455.9 MB, free: 50.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.5313, allocations: 0.8117 MB / 456.7 MB, free: 49.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.5315, allocations: 38.94 kB / 456.7 MB, free: 49.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.5316, allocations: 30.47 kB / 456.8 MB, free: 49.59 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5316, allocations: 0 / 456.8 MB, free: 49.59 MB / 382.1 MB Notification: Performance of Templates: time 0.007068/0.5387, allocations: 3.02 MB / 459.8 MB, free: 49.44 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1)