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.0009553/0.0009552, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009004/0.009004, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.45/1.45, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.000434/0.0004343, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2, allocations: 47.58 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002248/0.2023, allocations: 2.376 MB / 329.4 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.204, allocations: 1.158 MB / 330.6 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.2041, allocations: 10.75 kB / 330.6 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.2045, allocations: 123.9 kB / 330.7 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.2048, allocations: 109.4 kB / 330.8 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.206, allocations: 0.6411 MB / 331.5 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.2063, allocations: 285.3 kB / 331.7 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.2074, allocations: 0.5685 MB / 332.3 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.2076, allocations: 111 kB / 332.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.2078, allocations: 143.8 kB / 332.5 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.2078, allocations: 13.72 kB / 332.6 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000348/0.2082, allocations: 164.2 kB / 332.7 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.2082, allocations: 49.88 kB / 332.8 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.2084, allocations: 151 kB / 332.9 MB, free: 13 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.209, allocations: 478.8 kB / 333.4 MB, free: 12.66 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.209, allocations: 0 / 333.4 MB, free: 12.66 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.209, allocations: 0 / 333.4 MB, free: 12.66 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.209, allocations: 5.125 kB / 333.4 MB, free: 12.66 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.001628/0.2106, allocations: 0.6559 MB / 334 MB, free: 12.1 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.2107, allocations: 9.875 kB / 334.1 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008334/0.2115, allocations: 134.9 kB / 334.2 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.2119, allocations: 255.2 kB / 334.4 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.2119, allocations: 22.59 kB / 334.5 MB, free: 11.76 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/0.212, allocations: 33.16 kB / 334.5 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.2125, allocations: 337.7 kB / 334.8 MB, free: 11.44 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.2126, allocations: 3.938 kB / 334.8 MB, free: 11.43 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.2126, allocations: 20 kB / 334.8 MB, free: 11.41 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.2126, allocations: 12 kB / 334.9 MB, free: 11.4 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.213, allocations: 238.5 kB / 335.1 MB, free: 11.17 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.2149, allocations: 1.451 MB / 336.5 MB, free: 9.574 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.2156, allocations: 0.7047 MB / 337.2 MB, free: 8.75 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.2157, allocations: 101.2 kB / 337.3 MB, free: 8.648 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.866e-05/0.2158, allocations: 89.05 kB / 337.4 MB, free: 8.543 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.2159, allocations: 34.56 kB / 337.5 MB, free: 8.5 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 1.472e-06/0.2159, allocations: 0 / 337.5 MB, free: 8.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001207/0.2171, allocations: 0.4915 MB / 338 MB, free: 7.98 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.2171, allocations: 55.41 kB / 338 MB, free: 7.914 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.2173, allocations: 175.2 kB / 338.2 MB, free: 7.73 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.2173, allocations: 29.7 kB / 338.2 MB, free: 7.695 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.2174, allocations: 183.9 kB / 338.4 MB, free: 7.508 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.2175, allocations: 78.81 kB / 338.5 MB, free: 7.43 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.2175, allocations: 29.7 kB / 338.5 MB, free: 7.395 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2177, allocations: 330.8 kB / 338.8 MB, free: 7.062 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.2178, allocations: 68.53 kB / 338.9 MB, free: 6.996 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.218, allocations: 132.1 kB / 339 MB, free: 6.844 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.2182, allocations: 216.9 kB / 339.2 MB, free: 6.609 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.2182, allocations: 0 / 339.2 MB, free: 6.609 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005388/0.2188, allocations: 331.6 kB / 339.5 MB, free: 6.277 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2188, allocations: 4 kB / 339.6 MB, free: 6.273 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2188, allocations: 4 kB / 339.6 MB, free: 6.27 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002966/0.2191, allocations: 76.95 kB / 339.6 MB, free: 6.191 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.2193, allocations: 43.92 kB / 339.7 MB, free: 6.148 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.2211, allocations: 1.858 MB / 341.5 MB, free: 4.156 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.2213, allocations: 19.75 kB / 341.6 MB, free: 4.137 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.2213, allocations: 12 kB / 341.6 MB, free: 4.125 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.000154/0.2215, allocations: 153.7 kB / 341.7 MB, free: 3.965 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.2215, allocations: 19.88 kB / 341.7 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000529/0.2221, allocations: 284.7 kB / 342 MB, free: 3.66 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2221, allocations: 3.938 kB / 342 MB, free: 3.656 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2221, allocations: 7.984 kB / 342 MB, free: 3.648 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2221, allocations: 0 / 342 MB, free: 3.648 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009123/0.223, allocations: 0.6939 MB / 342.7 MB, free: 2.895 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.223, allocations: 0 / 342.7 MB, free: 2.895 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.2232, allocations: 20 kB / 342.7 MB, free: 2.875 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000226/0.2234, allocations: 80.73 kB / 342.8 MB, free: 2.793 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2234, allocations: 4 kB / 342.8 MB, free: 2.789 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.2252, allocations: 1.827 MB / 344.6 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2252, allocations: 3.938 kB / 344.7 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.2259, allocations: 443.9 kB / 345.1 MB, free: 376 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.83e-05/0.226, allocations: 116.8 kB / 345.2 MB, free: 240 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.226, allocations: 8 kB / 345.2 MB, free: 232 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.2261, allocations: 4 kB / 345.2 MB, free: 228 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.2262, allocations: 11.98 kB / 345.2 MB, free: 216 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2262, allocations: 15.98 kB / 345.2 MB, free: 200 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.2263, allocations: 127.2 kB / 345.4 MB, free: 72 kB / 270.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2263, allocations: 64 / 345.4 MB, free: 72 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004934/0.2268, allocations: 91.92 kB / 345.5 MB, free: 15.98 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.0002013/0.227, allocations: 127.1 kB / 345.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005745/0.2276, allocations: 362.2 kB / 345.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2276, allocations: 0 / 345.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.2279, allocations: 235.3 kB / 346.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.2283, allocations: 19.94 kB / 346.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.2293, allocations: 0.7412 MB / 346.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.2296, allocations: 0.7557 MB / 347.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.2297, allocations: 29.94 kB / 347.7 MB, free: 13.64 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.2297, allocations: 15.44 kB / 347.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of SimCode: time 3e-07/0.2298, allocations: 0 / 347.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of Templates: time 0.005915/0.2357, allocations: 2.402 MB / 350.1 MB, free: 11.22 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)