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.002067/0.002068, allocations: 102.6 kB / 16.62 MB, free: 6.805 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.001956/0.001956, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.544/1.544, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001234/0.001234, allocations: 55.92 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08332/0.08456, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003845/0.08845, allocations: 2.75 MB / 328.9 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.09039, allocations: 1.173 MB / 330.1 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.09056, allocations: 4 kB / 330.1 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.09191, allocations: 0.576 MB / 330.7 MB, free: 256 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.09222, allocations: 119.3 kB / 330.8 MB, free: 136 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.09347, allocations: 0.6384 MB / 331.4 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.09387, allocations: 290.6 kB / 331.7 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005164/0.09439, allocations: 302.8 kB / 332 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.09457, allocations: 131.5 kB / 332.1 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.09478, allocations: 175.3 kB / 332.3 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.09483, allocations: 24 kB / 332.3 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.09515, allocations: 175.8 kB / 332.5 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.09521, allocations: 55.84 kB / 332.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.09534, allocations: 151.2 kB / 332.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.09587, allocations: 0.4909 MB / 333.2 MB, free: 13.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.09588, allocations: 0 / 333.2 MB, free: 13.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.09589, allocations: 0 / 333.2 MB, free: 13.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.0959, allocations: 0 / 333.2 MB, free: 13.72 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.001599/0.09751, allocations: 0.7216 MB / 333.9 MB, free: 12.95 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.09755, allocations: 8.031 kB / 333.9 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007797/0.09834, allocations: 116.5 kB / 334 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.09866, allocations: 264.4 kB / 334.3 MB, free: 12.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.0987, allocations: 25.03 kB / 334.3 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.09876, allocations: 36.38 kB / 334.3 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.0993, allocations: 336.9 kB / 334.7 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.09933, allocations: 0 / 334.7 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.09937, allocations: 19.98 kB / 334.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.09939, allocations: 8 kB / 334.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.09977, allocations: 238.5 kB / 334.9 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.1017, allocations: 1.451 MB / 336.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007701/0.1025, allocations: 0.6927 MB / 337.1 MB, free: 9.465 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1027, allocations: 100.8 kB / 337.2 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.1028, allocations: 92.98 kB / 337.3 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1028, allocations: 46.44 kB / 337.3 MB, free: 9.199 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.1028, allocations: 0 / 337.3 MB, free: 9.199 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001245/0.1041, allocations: 487.4 kB / 337.8 MB, free: 8.695 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.1041, allocations: 55.41 kB / 337.8 MB, free: 8.629 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.1043, allocations: 175.3 kB / 338 MB, free: 8.445 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1043, allocations: 29.7 kB / 338 MB, free: 8.41 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.1045, allocations: 183.9 kB / 338.2 MB, free: 8.223 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.1046, allocations: 82.84 kB / 338.3 MB, free: 8.141 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-05/0.1047, allocations: 53.89 kB / 338.3 MB, free: 8.082 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1049, allocations: 330.8 kB / 338.7 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.105, allocations: 64.53 kB / 338.7 MB, free: 7.688 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.1052, allocations: 132.2 kB / 338.9 MB, free: 7.535 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.1055, allocations: 220.9 kB / 339.1 MB, free: 7.297 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1055, allocations: 4 kB / 339.1 MB, free: 7.293 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005195/0.1061, allocations: 319.6 kB / 339.4 MB, free: 6.973 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1061, allocations: 11.12 kB / 339.4 MB, free: 6.965 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1061, allocations: 12.14 kB / 339.4 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000289/0.1064, allocations: 76.81 kB / 339.5 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1066, allocations: 39.92 kB / 339.5 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.1086, allocations: 2.033 MB / 341.6 MB, free: 4.664 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.1087, allocations: 27.69 kB / 341.6 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1088, allocations: 8 kB / 341.6 MB, free: 4.629 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.0001519/0.1089, allocations: 149.8 kB / 341.7 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.109, allocations: 23.81 kB / 341.8 MB, free: 4.449 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/0.1095, allocations: 280.8 kB / 342 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1095, allocations: 4 kB / 342 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1095, allocations: 0 / 342 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1096, allocations: 3.938 kB / 342.1 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009211/0.1105, allocations: 0.7018 MB / 342.8 MB, free: 3.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1105, allocations: 0 / 342.8 MB, free: 3.402 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1106, allocations: 23.98 kB / 342.8 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002853/0.1109, allocations: 72.81 kB / 342.8 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.1109, allocations: 15.92 kB / 342.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.1128, allocations: 2.03 MB / 344.9 MB, free: 1.117 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1128, allocations: 3.938 kB / 344.9 MB, free: 1.113 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006163/0.1134, allocations: 439.8 kB / 345.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.1135, allocations: 112.9 kB / 345.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.1135, allocations: 8 kB / 345.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1137, allocations: 4.125 kB / 345.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.1137, allocations: 19.97 kB / 345.5 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1137, allocations: 8 kB / 345.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.408e-05/0.1138, allocations: 123.2 kB / 345.6 MB, free: 384 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1138, allocations: 0 / 345.6 MB, free: 384 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005305/0.1144, allocations: 103.6 kB / 345.7 MB, free: 280 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.0002094/0.1146, allocations: 131.1 kB / 345.8 MB, free: 140 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006262/0.1152, allocations: 354.2 kB / 346.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1152, allocations: 0 / 346.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.1156, allocations: 250.9 kB / 346.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.1159, allocations: 12 kB / 346.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.117, allocations: 0.6843 MB / 347.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.1174, allocations: 0.7521 MB / 347.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.1175, allocations: 25.94 kB / 347.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.1175, allocations: 19.44 kB / 347.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1176, allocations: 0 / 347.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of Templates: time 0.008344/0.1259, allocations: 2.544 MB / 350.5 MB, free: 11.43 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)