Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 107.5 kB / 16.92 MB, free: 6.145 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.001235/0.001236, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.421/1.421, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001516/0.001516, allocations: 51.92 kB / 280 MB, free: 3.16 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1028, allocations: 46.62 MB / 326.6 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004457/0.1073, allocations: 2.672 MB / 329.3 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1092, allocations: 0.9004 MB / 330.2 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005112/0.1098, allocations: 7.938 kB / 330.2 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005015/0.1103, allocations: 59.52 kB / 330.3 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007444/0.1111, allocations: 111.2 kB / 330.4 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.1116, allocations: 87.83 kB / 330.4 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000602/0.1122, allocations: 362.6 kB / 330.8 MB, free: 244 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002529/0.1124, allocations: 109.7 kB / 330.9 MB, free: 140 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.1128, allocations: 139.5 kB / 331 MB, free: 0 / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.1131, allocations: 147.5 kB / 331.2 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.755e-05/0.1131, allocations: 28 kB / 331.2 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.277e-05/0.1132, allocations: 32 kB / 331.2 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.576e-05/0.1133, allocations: 67.75 kB / 331.3 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.1135, allocations: 155.1 kB / 331.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004585/0.114, allocations: 354.9 kB / 331.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.114, allocations: 0 / 331.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.114, allocations: 0 / 331.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.114, allocations: 4 kB / 331.8 MB, free: 15.23 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001352/0.1154, allocations: 0.608 MB / 332.4 MB, free: 14.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.1154, allocations: 11.89 kB / 332.4 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.1156, allocations: 36.56 kB / 332.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.1159, allocations: 259.5 kB / 332.7 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.116, allocations: 16.94 kB / 332.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.576e-05/0.116, allocations: 28.38 kB / 332.8 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.1166, allocations: 253.1 kB / 333 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1166, allocations: 0 / 333 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.1167, allocations: 8 kB / 333 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.1167, allocations: 8 kB / 333 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004864/0.1172, allocations: 214.1 kB / 333.2 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.119, allocations: 1.005 MB / 334.2 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.1195, allocations: 202.5 kB / 334.4 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.1198, allocations: 112.8 kB / 334.6 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.1199, allocations: 8.062 kB / 334.6 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.1199, allocations: 30.56 kB / 334.6 MB, free: 12.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 3.977e-06/0.1199, allocations: 4.094 kB / 334.6 MB, free: 12.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.005254/0.1252, allocations: 1.531 MB / 336.1 MB, free: 10.63 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1252, allocations: 63.34 kB / 336.2 MB, free: 10.56 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.1255, allocations: 228.9 kB / 336.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.1255, allocations: 33.7 kB / 336.4 MB, free: 10.29 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1257, allocations: 180.2 kB / 336.6 MB, free: 10.11 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.1258, allocations: 126.2 kB / 336.7 MB, free: 9.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.1259, allocations: 62.08 kB / 336.8 MB, free: 9.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.126, allocations: 334.8 kB / 337.1 MB, free: 9.574 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.1263, allocations: 104.7 kB / 337.2 MB, free: 9.473 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.1266, allocations: 173.2 kB / 337.4 MB, free: 9.289 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005746/0.1272, allocations: 275.8 kB / 337.7 MB, free: 9.004 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1272, allocations: 0 / 337.7 MB, free: 9.004 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001663/0.1289, allocations: 0.5409 MB / 338.2 MB, free: 8.449 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.1289, allocations: 8 kB / 338.2 MB, free: 8.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1289, allocations: 0 / 338.2 MB, free: 8.441 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.1302, allocations: 237.5 kB / 338.5 MB, free: 8.203 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.1305, allocations: 59.91 kB / 338.5 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/0.1357, allocations: 4.142 MB / 342.7 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.136, allocations: 12.03 kB / 342.7 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.136, allocations: 8 kB / 342.7 MB, free: 3.703 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002022/0.1362, allocations: 161.8 kB / 342.8 MB, free: 3.535 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.1363, allocations: 27.62 kB / 342.9 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.682e-05/0.1364, allocations: 34.97 kB / 342.9 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.1364, allocations: 4 kB / 342.9 MB, free: 3.469 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.1364, allocations: 4 kB / 342.9 MB, free: 3.465 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1364, allocations: 3.984 kB / 342.9 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.1388, allocations: 0.9843 MB / 343.9 MB, free: 2.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.1388, allocations: 3.984 kB / 343.9 MB, free: 2.406 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.139, allocations: 39.92 kB / 343.9 MB, free: 2.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.1403, allocations: 245.5 kB / 344.2 MB, free: 2.121 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.1404, allocations: 4 kB / 344.2 MB, free: 2.117 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005104/0.1455, allocations: 4.145 MB / 348.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1455, allocations: 0 / 348.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.1474, allocations: 0.725 MB / 349 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.747e-05/0.1475, allocations: 100.8 kB / 349.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.1475, allocations: 7.938 kB / 349.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.1478, allocations: 12 kB / 349.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.38e-05/0.1479, allocations: 31.89 kB / 349.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.1479, allocations: 12 kB / 349.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.1481, allocations: 168.5 kB / 349.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1481, allocations: 0 / 349.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006748/0.1488, allocations: 104 kB / 349.5 MB, free: 12.5 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000187/0.149, allocations: 99.25 kB / 349.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.1503, allocations: 0.5711 MB / 350.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1503, allocations: 4 kB / 350.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006358/0.151, allocations: 437.5 kB / 350.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1514, allocations: 27.56 kB / 350.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.1528, allocations: 0.7083 MB / 351.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.1532, allocations: 0.776 MB / 352.1 MB, free: 9.773 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.1533, allocations: 22.3 kB / 352.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.1534, allocations: 19.42 kB / 352.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1534, allocations: 0 / 352.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of Templates: time 0.01109/0.1645, allocations: 5.408 MB / 357.5 MB, free: 4.324 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)