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.001271/0.001271, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01001/0.01001, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.594/1.594, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.0004459/0.0004459, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1987, allocations: 47.58 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002424/0.2011, allocations: 2.371 MB / 329.4 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.2032, allocations: 1.154 MB / 330.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.2034, allocations: 7.469 kB / 330.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.2039, allocations: 128 kB / 330.7 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.2043, allocations: 113.3 kB / 330.8 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.2056, allocations: 0.6525 MB / 331.5 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004778/0.2061, allocations: 277.5 kB / 331.7 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.2072, allocations: 0.5644 MB / 332.3 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.2074, allocations: 110.2 kB / 332.4 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.2076, allocations: 148.4 kB / 332.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.2076, allocations: 12.94 kB / 332.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.208, allocations: 165.5 kB / 332.7 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.149e-05/0.2081, allocations: 45.88 kB / 332.8 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.2082, allocations: 154.6 kB / 332.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005788/0.2088, allocations: 474.7 kB / 333.4 MB, free: 12.7 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2088, allocations: 0 / 333.4 MB, free: 12.7 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2088, allocations: 1.188 kB / 333.4 MB, free: 12.7 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.2088, allocations: 0 / 333.4 MB, free: 12.7 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.00153/0.2104, allocations: 0.6683 MB / 334.1 MB, free: 12.13 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2104, allocations: 9.031 kB / 334.1 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008282/0.2113, allocations: 123.1 kB / 334.2 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.2116, allocations: 263.8 kB / 334.4 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.2116, allocations: 26.41 kB / 334.5 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.2117, allocations: 33.16 kB / 334.5 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.2122, allocations: 334.3 kB / 334.8 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.2122, allocations: 7.938 kB / 334.8 MB, free: 11.44 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.2123, allocations: 11.98 kB / 334.8 MB, free: 11.43 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.2123, allocations: 8 kB / 334.9 MB, free: 11.42 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.2127, allocations: 246.5 kB / 335.1 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.2146, allocations: 1.447 MB / 336.5 MB, free: 9.59 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.2152, allocations: 0.7009 MB / 337.2 MB, free: 8.77 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.2154, allocations: 101.1 kB / 337.3 MB, free: 8.668 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.643e-05/0.2155, allocations: 101 kB / 337.4 MB, free: 8.551 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.2155, allocations: 34.56 kB / 337.5 MB, free: 8.508 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.2155, allocations: 0 / 337.5 MB, free: 8.508 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001171/0.2167, allocations: 495.3 kB / 338 MB, free: 7.996 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.2168, allocations: 59.41 kB / 338 MB, free: 7.926 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.2169, allocations: 179.2 kB / 338.2 MB, free: 7.738 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.217, allocations: 29.7 kB / 338.2 MB, free: 7.703 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.2171, allocations: 179.9 kB / 338.4 MB, free: 7.52 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.2171, allocations: 78.81 kB / 338.5 MB, free: 7.441 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.2172, allocations: 25.72 kB / 338.5 MB, free: 7.41 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2173, allocations: 326.8 kB / 338.8 MB, free: 7.082 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.2174, allocations: 72.53 kB / 338.9 MB, free: 7.012 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.2175, allocations: 132.1 kB / 339 MB, free: 6.859 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.2178, allocations: 216.9 kB / 339.2 MB, free: 6.625 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2178, allocations: 0 / 339.2 MB, free: 6.625 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005418/0.2184, allocations: 335.7 kB / 339.6 MB, free: 6.289 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2184, allocations: 4 kB / 339.6 MB, free: 6.285 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2184, allocations: 4 kB / 339.6 MB, free: 6.281 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002853/0.2187, allocations: 76.8 kB / 339.6 MB, free: 6.203 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.2189, allocations: 39.92 kB / 339.7 MB, free: 6.164 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.2206, allocations: 1.846 MB / 341.5 MB, free: 4.184 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.2208, allocations: 19.75 kB / 341.5 MB, free: 4.164 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.2208, allocations: 8 kB / 341.6 MB, free: 4.156 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.0001418/0.221, allocations: 161.6 kB / 341.7 MB, free: 3.988 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.221, allocations: 15.81 kB / 341.7 MB, free: 3.973 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.2215, allocations: 292.7 kB / 342 MB, free: 3.68 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2216, allocations: 3.938 kB / 342 MB, free: 3.676 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2216, allocations: 4 kB / 342 MB, free: 3.672 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2216, allocations: 0 / 342 MB, free: 3.672 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008916/0.2225, allocations: 0.69 MB / 342.7 MB, free: 2.922 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.2225, allocations: 4 kB / 342.7 MB, free: 2.918 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.2226, allocations: 23.98 kB / 342.7 MB, free: 2.895 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002258/0.2228, allocations: 76.75 kB / 342.8 MB, free: 2.816 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2229, allocations: 3.984 kB / 342.8 MB, free: 2.812 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.2245, allocations: 1.831 MB / 344.6 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2245, allocations: 0 / 344.6 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006124/0.2252, allocations: 447.9 kB / 345.1 MB, free: 396 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-05/0.2253, allocations: 112.8 kB / 345.2 MB, free: 264 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.2253, allocations: 8 kB / 345.2 MB, free: 256 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.2254, allocations: 4 kB / 345.2 MB, free: 252 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.2254, allocations: 15.97 kB / 345.2 MB, free: 236 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2255, allocations: 8 kB / 345.2 MB, free: 228 kB / 270.1 MB Notification: Performance of sorting global known variables: time 9.01e-05/0.2256, allocations: 127.2 kB / 345.4 MB, free: 100 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2256, allocations: 0 / 345.4 MB, free: 100 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004537/0.226, allocations: 87.75 kB / 345.4 MB, free: 12 kB / 270.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.0001943/0.2262, allocations: 135.1 kB / 345.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005593/0.2268, allocations: 362.2 kB / 345.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2268, allocations: 0 / 345.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.2271, allocations: 243.2 kB / 346.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.2274, allocations: 15.94 kB / 346.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009533/0.2284, allocations: 0.7451 MB / 346.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.2287, allocations: 0.7558 MB / 347.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.2288, allocations: 17.95 kB / 347.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.2289, allocations: 23.38 kB / 347.7 MB, free: 13.64 MB / 286.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2289, allocations: 4 kB / 347.7 MB, free: 13.64 MB / 286.1 MB Notification: Performance of Templates: time 0.005372/0.2342, allocations: 2.406 MB / 350.1 MB, free: 11.23 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)