Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.001064/0.001064, allocations: 190 kB / 17.54 MB, free: 6.066 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.307/1.307, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.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: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 47.92 kB / 279.5 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1114, allocations: 46.64 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008008/0.1194, allocations: 6.413 MB / 332.6 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004772/0.1243, allocations: 2.539 MB / 335.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007395/0.1251, allocations: 19.94 kB / 335.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002996/0.1281, allocations: 1.187 MB / 336.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.13, allocations: 0.6531 MB / 337 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.1321, allocations: 1.016 MB / 338 MB, free: 8.902 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.1335, allocations: 1.086 MB / 339.1 MB, free: 7.809 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.1351, allocations: 0.9853 MB / 340 MB, free: 6.801 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005943/0.1357, allocations: 450.4 kB / 340.5 MB, free: 6.359 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007293/0.1365, allocations: 0.5641 MB / 341.1 MB, free: 5.793 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.1366, allocations: 100 kB / 341.1 MB, free: 5.695 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009031/0.1375, allocations: 411.6 kB / 341.6 MB, free: 5.293 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.1377, allocations: 235.1 kB / 341.8 MB, free: 5.062 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005938/0.1383, allocations: 0.5324 MB / 342.3 MB, free: 4.527 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.1401, allocations: 1.499 MB / 343.8 MB, free: 3.023 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1401, allocations: 4 kB / 343.8 MB, free: 3.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1401, allocations: 0 / 343.8 MB, free: 3.02 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.1401, allocations: 0 / 343.8 MB, free: 3.02 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004206/0.1443, allocations: 1.655 MB / 345.5 MB, free: 1.312 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1444, allocations: 8.031 kB / 345.5 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003839/0.1482, allocations: 0.5772 MB / 346.1 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007733/0.149, allocations: 498 kB / 346.5 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.842e-05/0.1491, allocations: 86.3 kB / 346.6 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.1493, allocations: 116 kB / 346.7 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.1513, allocations: 1.011 MB / 347.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/0.1514, allocations: 3.906 kB / 347.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.1515, allocations: 55.98 kB / 347.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.1515, allocations: 28 kB / 347.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.1535, allocations: 1.02 MB / 348.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006447/0.1599, allocations: 3.877 MB / 352.7 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.1623, allocations: 2.056 MB / 354.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007656/0.1631, allocations: 439.7 kB / 355.2 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.1632, allocations: 102.2 kB / 355.3 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009524/0.1642, allocations: 482.5 kB / 355.8 MB, free: 6.367 MB / 302.1 MB Notification: Performance of pre-optimization done (n=98): time 3.246e-06/0.1642, allocations: 0 / 355.8 MB, free: 6.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=127): time 0.009741/0.1739, allocations: 4.022 MB / 359.8 MB, free: 2.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.1741, allocations: 145.5 kB / 360 MB, free: 2.059 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006127/0.1747, allocations: 417.8 kB / 360.4 MB, free: 1.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.793e-05/0.1748, allocations: 45.7 kB / 360.4 MB, free: 1.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.1753, allocations: 443.4 kB / 360.8 MB, free: 1.148 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004153/0.1757, allocations: 429.6 kB / 361.3 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/0.1761, allocations: 222.8 kB / 361.5 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.1763, allocations: 382.7 kB / 361.9 MB, free: 116 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007895/0.1771, allocations: 362.5 kB / 362.2 MB, free: 15.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009015/0.178, allocations: 0.5838 MB / 362.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.1797, allocations: 1.005 MB / 363.8 MB, free: 14.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.1797, allocations: 0 / 363.8 MB, free: 14.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002863/0.1826, allocations: 1.433 MB / 365.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.1826, allocations: 12 kB / 365.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.1826, allocations: 8 kB / 365.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009473/0.1836, allocations: 351 kB / 365.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009087/0.1845, allocations: 223.7 kB / 365.8 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008376/0.1929, allocations: 8.491 MB / 374.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009017/0.1938, allocations: 52.05 kB / 374.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.194, allocations: 51.92 kB / 374.4 MB, free: 2.82 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005283/0.1945, allocations: 261.6 kB / 374.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.1947, allocations: 71.16 kB / 374.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.1973, allocations: 1.329 MB / 376.1 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.1973, allocations: 15.98 kB / 376.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.1973, allocations: 11.94 kB / 376.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.1973, allocations: 3.984 kB / 376.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1891/0.3864, allocations: 2.558 MB / 378.6 MB, free: 51.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.3865, allocations: 1.375 kB / 378.6 MB, free: 51.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009293/0.3874, allocations: 155.2 kB / 378.8 MB, free: 51.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/0.3886, allocations: 329.7 kB / 379.1 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.74e-05/0.3887, allocations: 30.81 kB / 379.1 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006996/0.3957, allocations: 8.115 MB / 387.3 MB, free: 45.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3957, allocations: 2.281 kB / 387.3 MB, free: 45.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003473/0.3992, allocations: 1.844 MB / 389.1 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/0.3996, allocations: 219.5 kB / 389.3 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.3997, allocations: 24.03 kB / 389.3 MB, free: 44.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/0.4002, allocations: 42.06 kB / 389.4 MB, free: 44.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/0.4006, allocations: 106.4 kB / 389.5 MB, free: 44.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-05/0.4007, allocations: 40.11 kB / 389.5 MB, free: 44.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004488/0.4011, allocations: 274.8 kB / 389.8 MB, free: 44.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4011, allocations: 3.938 kB / 389.8 MB, free: 44.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001452/0.4026, allocations: 322.6 kB / 390.1 MB, free: 44 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003339/0.4029, allocations: 168.4 kB / 390.3 MB, free: 43.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003595/0.4065, allocations: 1.684 MB / 392 MB, free: 42.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.4066, allocations: 1.156 kB / 392 MB, free: 42.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001711/0.4083, allocations: 1.143 MB / 393.1 MB, free: 42.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008269/0.4091, allocations: 79.8 kB / 393.2 MB, free: 42.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.4134, allocations: 2.488 MB / 395.7 MB, free: 40.71 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.414, allocations: 1.026 MB / 396.7 MB, free: 39.99 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005776/0.4146, allocations: 107.5 kB / 396.8 MB, free: 39.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.4148, allocations: 57.64 kB / 396.9 MB, free: 39.94 MB / 318.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4148, allocations: 0 / 396.9 MB, free: 39.94 MB / 318.1 MB Notification: Performance of Templates: time 0.01943/0.4342, allocations: 11.11 MB / 408 MB, free: 33.91 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1)