Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 90.39 kB / 16.65 MB, free: 6.586 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.001092/0.001092, allocations: 181.9 kB / 17.56 MB, free: 6.203 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.356/1.356, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.000801/0.000801, allocations: 8 kB / 280.7 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09605/0.09686, allocations: 47.59 MB / 328.3 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002818/0.09972, allocations: 2.364 MB / 330.7 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.1016, allocations: 1.154 MB / 331.9 MB, free: 204 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.1017, allocations: 8 kB / 331.9 MB, free: 196 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.1022, allocations: 127.5 kB / 332 MB, free: 68 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004345/0.1026, allocations: 111.3 kB / 332.1 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.1039, allocations: 0.6502 MB / 332.7 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.1043, allocations: 274.7 kB / 333 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.1053, allocations: 0.5815 MB / 333.6 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1055, allocations: 107.5 kB / 333.7 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1057, allocations: 139.4 kB / 333.8 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.1057, allocations: 12 kB / 333.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.1061, allocations: 167.8 kB / 334 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.1061, allocations: 55.72 kB / 334.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.1063, allocations: 149 kB / 334.2 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.1068, allocations: 482.6 kB / 334.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1068, allocations: 3.938 kB / 334.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1068, allocations: 3.938 kB / 334.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1068, allocations: 0 / 334.7 MB, free: 13.33 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001496/0.1083, allocations: 0.6671 MB / 335.4 MB, free: 12.61 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1084, allocations: 8.031 kB / 335.4 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008311/0.1092, allocations: 120.5 kB / 335.5 MB, free: 12.49 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.1095, allocations: 252.6 kB / 335.7 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.1095, allocations: 28.97 kB / 335.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.1096, allocations: 32.38 kB / 335.8 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005187/0.1101, allocations: 333 kB / 336.1 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.1102, allocations: 7.906 kB / 336.1 MB, free: 11.8 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.1102, allocations: 12 kB / 336.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.1102, allocations: 12 kB / 336.1 MB, free: 11.78 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003943/0.1106, allocations: 246.4 kB / 336.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.1125, allocations: 1.443 MB / 337.8 MB, free: 9.949 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007168/0.1133, allocations: 0.6965 MB / 338.5 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.1134, allocations: 101.6 kB / 338.6 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.1135, allocations: 97.03 kB / 338.7 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1136, allocations: 30.56 kB / 338.7 MB, free: 8.879 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.843e-06/0.1136, allocations: 4 kB / 338.8 MB, free: 8.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001188/0.1148, allocations: 0.4915 MB / 339.2 MB, free: 8.355 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.1148, allocations: 55.41 kB / 339.3 MB, free: 8.289 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.115, allocations: 179.2 kB / 339.5 MB, free: 8.102 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.115, allocations: 29.7 kB / 339.5 MB, free: 8.066 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1151, allocations: 180 kB / 339.7 MB, free: 7.883 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.404e-05/0.1152, allocations: 78.77 kB / 339.8 MB, free: 7.805 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.1153, allocations: 29.7 kB / 339.8 MB, free: 7.77 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1154, allocations: 330.8 kB / 340.1 MB, free: 7.438 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1155, allocations: 64.55 kB / 340.2 MB, free: 7.375 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.1157, allocations: 136.1 kB / 340.3 MB, free: 7.219 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.1159, allocations: 220.9 kB / 340.5 MB, free: 6.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.116, allocations: 0 / 340.5 MB, free: 6.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005512/0.1165, allocations: 331.5 kB / 340.8 MB, free: 6.648 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1165, allocations: 4 kB / 340.8 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1166, allocations: 8.219 kB / 340.9 MB, free: 6.637 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.1169, allocations: 68.81 kB / 340.9 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.117, allocations: 51.84 kB / 341 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.1189, allocations: 1.846 MB / 342.8 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.119, allocations: 23.75 kB / 342.8 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.119, allocations: 16 kB / 342.9 MB, free: 4.496 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.1192, allocations: 145.8 kB / 343 MB, free: 4.344 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.1192, allocations: 15.81 kB / 343 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/0.1198, allocations: 296.6 kB / 343.3 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1198, allocations: 3.938 kB / 343.3 MB, free: 4.027 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1198, allocations: 4 kB / 343.3 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1198, allocations: 0 / 343.3 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009047/0.1207, allocations: 0.6861 MB / 344 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1207, allocations: 4 kB / 344 MB, free: 3.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.1209, allocations: 23.98 kB / 344 MB, free: 3.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000221/0.1211, allocations: 76.75 kB / 344.1 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1211, allocations: 4 kB / 344.1 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.1228, allocations: 1.839 MB / 345.9 MB, free: 1.191 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1229, allocations: 3.984 kB / 345.9 MB, free: 1.188 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005863/0.1235, allocations: 435.9 kB / 346.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.1235, allocations: 120.8 kB / 346.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.1236, allocations: 0 / 346.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1237, allocations: 8.125 kB / 346.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.1237, allocations: 23.97 kB / 346.5 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.1237, allocations: 11.94 kB / 346.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.668e-05/0.1238, allocations: 127.2 kB / 346.7 MB, free: 448 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1238, allocations: 0 / 346.7 MB, free: 448 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004434/0.1243, allocations: 95.69 kB / 346.8 MB, free: 352 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 14 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.1245, allocations: 119.2 kB / 346.9 MB, free: 224 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005644/0.125, allocations: 354.2 kB / 347.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1251, allocations: 0 / 347.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.1254, allocations: 255.5 kB / 347.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.1257, allocations: 12 kB / 347.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009677/0.1267, allocations: 0.737 MB / 348.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.127, allocations: 0.7558 MB / 349 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.1271, allocations: 21.94 kB / 349 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.1271, allocations: 19.44 kB / 349 MB, free: 14 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1271, allocations: 0 / 349 MB, free: 14 MB / 302.1 MB Notification: Performance of Templates: time 0.005446/0.1326, allocations: 2.402 MB / 351.4 MB, free: 11.6 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1)