Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001168/0.001168, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 196.8 kB / 16.53 MB, free: 6.699 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.306/1.306, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.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.001552/0.001552, allocations: 59.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1924, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003536/0.196, allocations: 2.71 MB / 328 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1979, allocations: 1.177 MB / 329.2 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1981, allocations: 11.06 kB / 329.2 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.1997, allocations: 0.6177 MB / 329.8 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.2, allocations: 135.6 kB / 330 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.2013, allocations: 0.6868 MB / 330.7 MB, free: 13.69 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.2017, allocations: 289.6 kB / 330.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004593/0.2022, allocations: 270 kB / 331.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.2024, allocations: 129.3 kB / 331.3 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.2026, allocations: 165.5 kB / 331.5 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.2027, allocations: 25.16 kB / 331.5 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.203, allocations: 183.1 kB / 331.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.2031, allocations: 54.41 kB / 331.8 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.2032, allocations: 151 kB / 331.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000533/0.2038, allocations: 0.4921 MB / 332.4 MB, free: 12.62 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2038, allocations: 0 / 332.4 MB, free: 12.62 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.2038, allocations: 0 / 332.4 MB, free: 12.62 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2038, allocations: 0.7812 kB / 332.4 MB, free: 12.62 MB / 270.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.001509/0.2053, allocations: 0.7122 MB / 333.1 MB, free: 12.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2054, allocations: 14.11 kB / 333.1 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007948/0.2062, allocations: 120.3 kB / 333.2 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.2065, allocations: 256.5 kB / 333.5 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.2065, allocations: 33.02 kB / 333.5 MB, free: 11.63 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.2066, allocations: 28.38 kB / 333.5 MB, free: 11.6 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.2071, allocations: 337 kB / 333.9 MB, free: 11.26 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.2071, allocations: 8 kB / 333.9 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.2071, allocations: 8 kB / 333.9 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2071, allocations: 8 kB / 333.9 MB, free: 11.24 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003789/0.2075, allocations: 246.5 kB / 334.1 MB, free: 10.99 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.2093, allocations: 1.447 MB / 335.6 MB, free: 9.402 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/0.21, allocations: 0.7004 MB / 336.3 MB, free: 8.582 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.2101, allocations: 104.8 kB / 336.4 MB, free: 8.477 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.954e-05/0.2102, allocations: 88.98 kB / 336.5 MB, free: 8.371 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.2103, allocations: 34.55 kB / 336.5 MB, free: 8.328 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.2103, allocations: 0 / 336.5 MB, free: 8.328 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001165/0.2114, allocations: 499.3 kB / 337 MB, free: 7.812 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.2115, allocations: 55.41 kB / 337.1 MB, free: 7.746 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.2116, allocations: 171.3 kB / 337.2 MB, free: 7.566 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.2117, allocations: 29.7 kB / 337.2 MB, free: 7.531 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.2118, allocations: 168 kB / 337.4 MB, free: 7.359 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/0.2118, allocations: 94.67 kB / 337.5 MB, free: 7.266 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.752e-05/0.2119, allocations: 57.89 kB / 337.6 MB, free: 7.203 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.212, allocations: 330.8 kB / 337.9 MB, free: 6.871 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.2122, allocations: 68.55 kB / 338 MB, free: 6.805 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.2123, allocations: 128.2 kB / 338.1 MB, free: 6.656 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.2126, allocations: 216 kB / 338.3 MB, free: 6.422 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2126, allocations: 0 / 338.3 MB, free: 6.422 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005416/0.2132, allocations: 336.6 kB / 338.6 MB, free: 6.086 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2132, allocations: 4.625 kB / 338.6 MB, free: 6.082 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2132, allocations: 4 kB / 338.6 MB, free: 6.078 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002973/0.2135, allocations: 80.84 kB / 338.7 MB, free: 5.996 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.2137, allocations: 39.97 kB / 338.7 MB, free: 5.957 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.2156, allocations: 2.029 MB / 340.8 MB, free: 3.789 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.2158, allocations: 27.78 kB / 340.8 MB, free: 3.762 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.2158, allocations: 16 kB / 340.8 MB, free: 3.746 MB / 270.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.0001291/0.2159, allocations: 141.8 kB / 341 MB, free: 3.598 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.216, allocations: 23.75 kB / 341 MB, free: 3.574 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00052/0.2165, allocations: 284.8 kB / 341.3 MB, free: 3.293 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2165, allocations: 4 kB / 341.3 MB, free: 3.289 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.2165, allocations: 0 / 341.3 MB, free: 3.289 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2165, allocations: 3.984 kB / 341.3 MB, free: 3.285 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00086/0.2174, allocations: 0.6939 MB / 342 MB, free: 2.531 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2174, allocations: 4 kB / 342 MB, free: 2.527 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.2175, allocations: 23.94 kB / 342 MB, free: 2.504 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002203/0.2178, allocations: 76.8 kB / 342.1 MB, free: 2.426 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2178, allocations: 7.938 kB / 342.1 MB, free: 2.418 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.2195, allocations: 2.029 MB / 344.1 MB, free: 252 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2195, allocations: 288 / 344.1 MB, free: 252 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005957/0.2201, allocations: 451.8 kB / 344.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.846e-05/0.2202, allocations: 108.9 kB / 344.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.2202, allocations: 7.938 kB / 344.7 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.2203, allocations: 4 kB / 344.7 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.2204, allocations: 19.97 kB / 344.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.2204, allocations: 12 kB / 344.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.992e-05/0.2205, allocations: 127.5 kB / 344.8 MB, free: 15.49 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2205, allocations: 0 / 344.8 MB, free: 15.49 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004851/0.221, allocations: 107.7 kB / 344.9 MB, free: 15.39 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.0001956/0.2212, allocations: 115.2 kB / 345 MB, free: 15.27 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000593/0.2218, allocations: 370.2 kB / 345.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2218, allocations: 4 kB / 345.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.2221, allocations: 238.6 kB / 345.6 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.2225, allocations: 16 kB / 345.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009046/0.2234, allocations: 0.5683 MB / 346.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.2237, allocations: 0.756 MB / 347 MB, free: 13.25 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.2238, allocations: 17.95 kB / 347 MB, free: 13.23 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.2238, allocations: 19.38 kB / 347 MB, free: 13.21 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2238, allocations: 0 / 347 MB, free: 13.21 MB / 286.1 MB Notification: Performance of Templates: time 0.005624/0.2295, allocations: 2.55 MB / 349.6 MB, free: 10.66 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1)