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.001432/0.001432, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 192.7 kB / 16.14 MB, free: 6.703 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.588/1.588, allocations: 205.1 MB / 222 MB, free: 4.98 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.424/0.424, allocations: 39.94 MB / 309.3 MB, free: 9.555 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.001456/0.001456, allocations: 70.41 kB / 376.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1592, allocations: 56.88 MB / 433.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004941/0.1642, allocations: 3.458 MB / 437.3 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1658, allocations: 0.8265 MB / 438.1 MB, free: 180 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.166, allocations: 11.94 kB / 438.1 MB, free: 168 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.1663, allocations: 55.55 kB / 438.1 MB, free: 112 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.1666, allocations: 111.1 kB / 438.3 MB, free: 0 / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.167, allocations: 115.8 kB / 438.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004541/0.1675, allocations: 494.3 kB / 438.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003795/0.1679, allocations: 222.7 kB / 439.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.1682, allocations: 195.2 kB / 439.3 MB, free: 14.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.1684, allocations: 223 kB / 439.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.051e-05/0.1685, allocations: 39.94 kB / 439.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.462e-05/0.1686, allocations: 36 kB / 439.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.074e-05/0.1687, allocations: 87.67 kB / 439.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.1689, allocations: 242.7 kB / 439.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.1694, allocations: 0.5296 MB / 440.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1694, allocations: 3.984 kB / 440.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1694, allocations: 0 / 440.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1694, allocations: 4 kB / 440.4 MB, free: 13.83 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.001342/0.1708, allocations: 0.7565 MB / 441.2 MB, free: 13.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.1708, allocations: 8.031 kB / 441.2 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.682e-05/0.1709, allocations: 56.36 kB / 441.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.1713, allocations: 309.4 kB / 441.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.1714, allocations: 33.38 kB / 441.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.742e-05/0.1715, allocations: 48.28 kB / 441.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008003/0.1723, allocations: 479.3 kB / 442.1 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1723, allocations: 0 / 442.1 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.1723, allocations: 16 kB / 442.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.1724, allocations: 12 kB / 442.1 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006855/0.1731, allocations: 323.8 kB / 442.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.1754, allocations: 1.689 MB / 444.1 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.176, allocations: 237 kB / 444.3 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.1763, allocations: 141.8 kB / 444.5 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.1763, allocations: 7.938 kB / 444.5 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.1764, allocations: 34.56 kB / 444.5 MB, free: 9.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.422e-06/0.1764, allocations: 4 kB / 444.5 MB, free: 9.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002901/0.1793, allocations: 1.325 MB / 445.9 MB, free: 8.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1794, allocations: 89.09 kB / 445.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.1796, allocations: 262.5 kB / 446.2 MB, free: 7.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.1797, allocations: 37.62 kB / 446.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1798, allocations: 263.4 kB / 446.5 MB, free: 7.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/0.1799, allocations: 114.3 kB / 446.6 MB, free: 7.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.18, allocations: 81.97 kB / 446.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1801, allocations: 338.8 kB / 447 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.1804, allocations: 112.8 kB / 447.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.1808, allocations: 216.2 kB / 447.3 MB, free: 6.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005957/0.1814, allocations: 331.7 kB / 447.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1814, allocations: 4 kB / 447.7 MB, free: 6.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000813/0.1822, allocations: 429.9 kB / 448.1 MB, free: 5.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1822, allocations: 4 kB / 448.1 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1823, allocations: 4 kB / 448.1 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.1824, allocations: 32.84 kB / 448.1 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/0.1829, allocations: 127.8 kB / 448.2 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.1843, allocations: 1.339 MB / 449.6 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.1846, allocations: 19.98 kB / 449.6 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.1846, allocations: 16 kB / 449.6 MB, free: 3.957 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.0002967/0.1849, allocations: 161.8 kB / 449.8 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.1851, allocations: 35.56 kB / 449.8 MB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.444e-05/0.1851, allocations: 34.17 kB / 449.8 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1851, allocations: 4 kB / 449.9 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.1852, allocations: 0 / 449.9 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.1852, allocations: 7.984 kB / 449.9 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.1863, allocations: 0.7154 MB / 450.6 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1863, allocations: 4 kB / 450.6 MB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.1867, allocations: 91.88 kB / 450.7 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.331e-05/0.1868, allocations: 24.84 kB / 450.7 MB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.1869, allocations: 12.06 kB / 450.7 MB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009337/0.1878, allocations: 1.331 MB / 452 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1878, allocations: 0 / 452 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.1888, allocations: 0.6122 MB / 452.6 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1889, allocations: 121.1 kB / 452.8 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.189, allocations: 12 kB / 452.8 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.1893, allocations: 19.98 kB / 452.8 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.1893, allocations: 27.95 kB / 452.8 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1894, allocations: 4 kB / 452.8 MB, free: 0.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.1896, allocations: 190 kB / 453 MB, free: 320 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1896, allocations: 7.938 kB / 453 MB, free: 312 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004629/0.19, allocations: 92 kB / 453.1 MB, free: 220 kB / 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.0001312/0.1902, allocations: 103.2 kB / 453.2 MB, free: 108 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2614/0.4515, allocations: 407.6 kB / 453.6 MB, free: 51.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.4516, allocations: 2.719 kB / 453.6 MB, free: 51.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.452, allocations: 251.3 kB / 453.9 MB, free: 51.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/0.4528, allocations: 39.38 kB / 453.9 MB, free: 51.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.4545, allocations: 1.092 MB / 455 MB, free: 50.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.4548, allocations: 0.8107 MB / 455.8 MB, free: 50.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.455, allocations: 32.8 kB / 455.8 MB, free: 50 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.4551, allocations: 29.14 kB / 455.9 MB, free: 50 MB / 382.1 MB Notification: Performance of SimCode: time 1.923e-06/0.4551, allocations: 0 / 455.9 MB, free: 50 MB / 382.1 MB Notification: Performance of Templates: time 0.006368/0.4614, allocations: 2.861 MB / 458.7 MB, free: 49.87 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)