Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001221/0.001221, 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.001329/0.001329, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.415/1.415, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.00114/0.00114, allocations: 51.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1933, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003257/0.1966, allocations: 2.717 MB / 328 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.1983, allocations: 1.186 MB / 329.2 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1985, allocations: 6.5 kB / 329.2 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.1999, allocations: 0.6191 MB / 329.8 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.2002, allocations: 131.7 kB / 330 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.2014, allocations: 0.6737 MB / 330.7 MB, free: 13.69 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.2017, allocations: 298.4 kB / 330.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004503/0.2022, allocations: 273.3 kB / 331.2 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.2024, allocations: 122.4 kB / 331.3 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.2026, allocations: 172.9 kB / 331.5 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.2026, allocations: 24.41 kB / 331.5 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.2029, allocations: 175.9 kB / 331.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.203, allocations: 58.3 kB / 331.8 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.2032, allocations: 155.4 kB / 331.9 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005264/0.2037, allocations: 491.5 kB / 332.4 MB, free: 12.62 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2037, allocations: 7.984 kB / 332.4 MB, free: 12.61 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2037, allocations: 0 / 332.4 MB, free: 12.61 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.2037, allocations: 1.062 kB / 332.4 MB, free: 12.61 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.00154/0.2053, allocations: 0.7113 MB / 333.1 MB, free: 12.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.2053, allocations: 9.625 kB / 333.1 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008206/0.2061, allocations: 120.8 kB / 333.2 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.2064, allocations: 264.5 kB / 333.5 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.2065, allocations: 25.03 kB / 333.5 MB, free: 11.64 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.2065, allocations: 28.38 kB / 333.5 MB, free: 11.61 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.207, allocations: 345 kB / 333.9 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.207, allocations: 0 / 333.9 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.2071, allocations: 11.98 kB / 333.9 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2071, allocations: 12 kB / 333.9 MB, free: 11.24 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003793/0.2075, allocations: 242.5 kB / 334.1 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.2093, allocations: 1.451 MB / 335.6 MB, free: 9.406 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/0.2099, allocations: 0.6965 MB / 336.3 MB, free: 8.59 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.2101, allocations: 108.8 kB / 336.4 MB, free: 8.48 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.63e-05/0.2102, allocations: 96.91 kB / 336.5 MB, free: 8.367 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2102, allocations: 34.56 kB / 336.5 MB, free: 8.324 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 1.402e-06/0.2102, allocations: 0 / 336.5 MB, free: 8.324 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001147/0.2114, allocations: 487.4 kB / 337 MB, free: 7.82 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.2114, allocations: 59.41 kB / 337.1 MB, free: 7.75 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.2116, allocations: 175.3 kB / 337.2 MB, free: 7.566 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.2116, allocations: 29.7 kB / 337.3 MB, free: 7.531 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/0.2117, allocations: 172 kB / 337.4 MB, free: 7.355 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.2118, allocations: 90.67 kB / 337.5 MB, free: 7.266 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-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.0001109/0.212, allocations: 326.8 kB / 337.9 MB, free: 6.875 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.2121, allocations: 68.53 kB / 338 MB, free: 6.809 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.2122, allocations: 128.2 kB / 338.1 MB, free: 6.66 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.2125, allocations: 216 kB / 338.3 MB, free: 6.426 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2125, allocations: 7.922 kB / 338.3 MB, free: 6.418 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005352/0.2131, allocations: 328.7 kB / 338.6 MB, free: 6.09 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2131, allocations: 4 kB / 338.6 MB, free: 6.086 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2131, allocations: 4 kB / 338.6 MB, free: 6.082 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003385/0.2135, allocations: 76.8 kB / 338.7 MB, free: 6.004 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.2136, allocations: 43.95 kB / 338.7 MB, free: 5.961 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.2156, allocations: 2.025 MB / 340.8 MB, free: 3.797 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.2157, allocations: 27.72 kB / 340.8 MB, free: 3.77 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.2158, allocations: 12 kB / 340.8 MB, free: 3.758 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.0001791/0.2159, allocations: 149.8 kB / 341 MB, free: 3.602 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.216, allocations: 19.75 kB / 341 MB, free: 3.582 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005253/0.2165, allocations: 280.8 kB / 341.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2165, allocations: 12.22 kB / 341.3 MB, free: 3.293 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2165, allocations: 4 kB / 341.3 MB, free: 3.289 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2166, allocations: 0 / 341.3 MB, free: 3.289 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.2175, allocations: 0.6939 MB / 342 MB, free: 2.535 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2175, allocations: 0 / 342 MB, free: 2.535 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.2177, allocations: 23.98 kB / 342 MB, free: 2.512 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002285/0.2179, allocations: 76.81 kB / 342.1 MB, free: 2.434 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.2179, allocations: 7.938 kB / 342.1 MB, free: 2.426 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.2199, allocations: 2.033 MB / 344.1 MB, free: 256 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2199, allocations: 0 / 344.1 MB, free: 256 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006358/0.2206, allocations: 447.9 kB / 344.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.2207, allocations: 108.9 kB / 344.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.2207, allocations: 11.98 kB / 344.7 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.2208, allocations: 8 kB / 344.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.2209, allocations: 11.98 kB / 344.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.2209, allocations: 8.281 kB / 344.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.221, allocations: 131.5 kB / 344.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.547e-06/0.2211, allocations: 0 / 344.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005017/0.2216, allocations: 111.5 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.0002259/0.2218, allocations: 119.3 kB / 345 MB, free: 15.26 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006071/0.2224, allocations: 366.3 kB / 345.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2224, allocations: 0 / 345.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.2227, allocations: 246.5 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.000335/0.2231, allocations: 15.98 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.0009959/0.2241, allocations: 0.5643 MB / 346.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.2244, allocations: 0.7599 MB / 347 MB, free: 13.25 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.2245, allocations: 21.94 kB / 347 MB, free: 13.22 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.2246, allocations: 15.44 kB / 347 MB, free: 13.21 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.2246, allocations: 0 / 347 MB, free: 13.21 MB / 286.1 MB Notification: Performance of Templates: time 0.005921/0.2305, allocations: 2.543 MB / 349.6 MB, free: 10.66 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1)