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.001161/0.001161, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001142/0.001142, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.365/1.365, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001096/0.001096, allocations: 47.94 kB / 279.3 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08319/0.08429, allocations: 46.62 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003851/0.08818, allocations: 2.734 MB / 328.7 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.08997, allocations: 1.192 MB / 329.9 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.09011, allocations: 8 kB / 329.9 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.09148, allocations: 0.5838 MB / 330.5 MB, free: 336 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.09176, allocations: 115.3 kB / 330.6 MB, free: 220 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.09296, allocations: 0.6581 MB / 331.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.09328, allocations: 282.6 kB / 331.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.0937, allocations: 247.2 kB / 331.8 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.09386, allocations: 119.5 kB / 331.9 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.09405, allocations: 167.4 kB / 332.1 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.09409, allocations: 16 kB / 332.1 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.0944, allocations: 175.8 kB / 332.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.09445, allocations: 55.77 kB / 332.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.09458, allocations: 139.3 kB / 332.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.09508, allocations: 0.4908 MB / 332.9 MB, free: 13.89 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.09509, allocations: 0 / 332.9 MB, free: 13.89 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.09512, allocations: 0 / 332.9 MB, free: 13.89 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.09513, allocations: 0 / 332.9 MB, free: 13.89 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.001541/0.09667, allocations: 0.7138 MB / 333.6 MB, free: 13.12 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.09672, allocations: 12.03 kB / 333.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008075/0.09753, allocations: 116.5 kB / 333.8 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.09782, allocations: 268.4 kB / 334 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.09785, allocations: 29.02 kB / 334.1 MB, free: 12.67 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.09791, allocations: 28.38 kB / 334.1 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.09843, allocations: 341 kB / 334.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.09845, allocations: 4 kB / 334.4 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.09849, allocations: 12 kB / 334.4 MB, free: 12.28 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.0985, allocations: 8 kB / 334.4 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.0989, allocations: 242.5 kB / 334.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.1008, allocations: 1.451 MB / 336.1 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.1014, allocations: 0.6966 MB / 336.8 MB, free: 9.625 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.1016, allocations: 104.8 kB / 336.9 MB, free: 9.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.996e-05/0.1017, allocations: 85.05 kB / 337 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1017, allocations: 38.55 kB / 337 MB, free: 9.371 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.1017, allocations: 3.938 kB / 337 MB, free: 9.367 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001158/0.1029, allocations: 491.4 kB / 337.5 MB, free: 8.859 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.1029, allocations: 55.41 kB / 337.6 MB, free: 8.793 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1031, allocations: 171.3 kB / 337.7 MB, free: 8.613 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.1031, allocations: 29.7 kB / 337.8 MB, free: 8.578 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.1032, allocations: 175.9 kB / 337.9 MB, free: 8.398 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.27e-05/0.1033, allocations: 82.83 kB / 338 MB, free: 8.316 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.1034, allocations: 57.89 kB / 338.1 MB, free: 8.254 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1035, allocations: 330.8 kB / 338.4 MB, free: 7.922 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1036, allocations: 68.55 kB / 338.5 MB, free: 7.855 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.1038, allocations: 136.1 kB / 338.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.104, allocations: 213 kB / 338.8 MB, free: 7.469 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1041, allocations: 0 / 338.8 MB, free: 7.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000528/0.1046, allocations: 339.7 kB / 339.1 MB, free: 7.129 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1046, allocations: 7.125 kB / 339.2 MB, free: 7.125 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1046, allocations: 4 kB / 339.2 MB, free: 7.121 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002983/0.1049, allocations: 72.75 kB / 339.2 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.1051, allocations: 51.91 kB / 339.3 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.1068, allocations: 1.827 MB / 341.1 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.107, allocations: 27.69 kB / 341.1 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.107, allocations: 12 kB / 341.1 MB, free: 4.996 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.0001437/0.1072, allocations: 137.8 kB / 341.3 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.1072, allocations: 19.8 kB / 341.3 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005198/0.1077, allocations: 288 kB / 341.6 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.1078, allocations: 11.88 kB / 341.6 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1078, allocations: 4 kB / 341.6 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1078, allocations: 0 / 341.6 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008991/0.1087, allocations: 0.6988 MB / 342.3 MB, free: 3.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1087, allocations: 0 / 342.3 MB, free: 3.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.1088, allocations: 27.92 kB / 342.3 MB, free: 3.742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000224/0.109, allocations: 68.81 kB / 342.4 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1091, allocations: 8 kB / 342.4 MB, free: 3.664 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.1108, allocations: 1.839 MB / 344.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1108, allocations: 0 / 344.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.1114, allocations: 443.9 kB / 344.7 MB, free: 1.234 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.882e-05/0.1115, allocations: 112.9 kB / 344.8 MB, free: 1.105 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.1115, allocations: 8.125 kB / 344.8 MB, free: 1.098 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.1116, allocations: 8 kB / 344.8 MB, free: 1.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.1117, allocations: 23.95 kB / 344.8 MB, free: 1.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1117, allocations: 4 kB / 344.8 MB, free: 1.062 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.807e-05/0.1118, allocations: 123.2 kB / 344.9 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1118, allocations: 0 / 344.9 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004491/0.1123, allocations: 95.69 kB / 345 MB, free: 0.8477 MB / 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.0001826/0.1125, allocations: 115.2 kB / 345.1 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005483/0.113, allocations: 354.2 kB / 345.5 MB, free: 376 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.113, allocations: 8.438 kB / 345.5 MB, free: 368 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.1133, allocations: 242.5 kB / 345.7 MB, free: 112 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1137, allocations: 16 kB / 345.8 MB, free: 96 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1147, allocations: 0.689 MB / 346.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.115, allocations: 0.7558 MB / 347.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.1151, allocations: 25.94 kB / 347.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.1152, allocations: 15.44 kB / 347.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1152, allocations: 0 / 347.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Templates: time 0.005578/0.1208, allocations: 2.451 MB / 349.7 MB, free: 12.11 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)