Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.CylinderLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001487/0.001487, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004354/0.0004354, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1975, allocations: 47.58 MB / 326.5 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00448/0.2021, allocations: 4.122 MB / 330.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.2047, allocations: 1.588 MB / 332.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.2049, allocations: 17.22 kB / 332.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.2054, allocations: 202.5 kB / 332.4 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006032/0.206, allocations: 288.6 kB / 332.7 MB, free: 12.58 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.2072, allocations: 0.6616 MB / 333.3 MB, free: 12.08 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007858/0.208, allocations: 0.5559 MB / 333.9 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.2103, allocations: 1.324 MB / 335.2 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003711/0.2106, allocations: 282.9 kB / 335.5 MB, free: 10.46 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003803/0.211, allocations: 370.5 kB / 335.8 MB, free: 10.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.247e-05/0.2111, allocations: 36 kB / 335.9 MB, free: 10.06 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004343/0.2115, allocations: 191.8 kB / 336.1 MB, free: 9.871 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.309e-05/0.2116, allocations: 127.4 kB / 336.2 MB, free: 9.746 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.2118, allocations: 169.3 kB / 336.4 MB, free: 9.574 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009092/0.2127, allocations: 0.8932 MB / 337.3 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2127, allocations: 4 kB / 337.3 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2127, allocations: 4 kB / 337.3 MB, free: 8.672 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.2127, allocations: 0 / 337.3 MB, free: 8.672 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003647/0.2164, allocations: 1.291 MB / 338.6 MB, free: 7.328 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2164, allocations: 8.031 kB / 338.6 MB, free: 7.32 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.218, allocations: 254.8 kB / 338.8 MB, free: 7.07 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.2182, allocations: 257.9 kB / 339.1 MB, free: 6.777 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/0.2183, allocations: 77.94 kB / 339.1 MB, free: 6.703 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.2184, allocations: 99.91 kB / 339.2 MB, free: 6.605 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.2198, allocations: 0.9263 MB / 340.2 MB, free: 5.664 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.2199, allocations: 8 kB / 340.2 MB, free: 5.656 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/0.22, allocations: 40 kB / 340.2 MB, free: 5.617 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.22, allocations: 24 kB / 340.2 MB, free: 5.594 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.2212, allocations: 0.7769 MB / 341 MB, free: 4.82 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00468/0.2259, allocations: 3.381 MB / 344.4 MB, free: 1.254 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.2277, allocations: 1.256 MB / 345.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.459e-05/0.2278, allocations: 98.09 kB / 345.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.2279, allocations: 47.55 kB / 345.8 MB, free: 15.74 MB / 286.1 MB Notification: Performance of pre-optimization done (n=87): time 2.505e-06/0.2279, allocations: 0 / 345.8 MB, free: 15.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=87): time 0.002001/0.2299, allocations: 1.292 MB / 347.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.2299, allocations: 94.08 kB / 347.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.2303, allocations: 360.3 kB / 347.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.2304, allocations: 41.7 kB / 347.6 MB, free: 13.85 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.2306, allocations: 378.9 kB / 347.9 MB, free: 13.47 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.2308, allocations: 307.6 kB / 348.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.2308, allocations: 20 kB / 348.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.231, allocations: 358.8 kB / 348.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.2314, allocations: 262.5 kB / 348.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.232, allocations: 467.5 kB / 349.3 MB, free: 12 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/0.2325, allocations: 334.9 kB / 349.6 MB, free: 11.67 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2325, allocations: 4 kB / 349.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001492/0.234, allocations: 0.9689 MB / 350.6 MB, free: 10.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.234, allocations: 8 kB / 350.6 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.234, allocations: 7.938 kB / 350.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003435/0.2344, allocations: 123.5 kB / 350.8 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.2352, allocations: 203.7 kB / 351 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/0.239, allocations: 5.602 MB / 356.6 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005426/0.2395, allocations: 94.97 kB / 356.6 MB, free: 4.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/0.2396, allocations: 43.94 kB / 356.7 MB, free: 4.047 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003077/0.2399, allocations: 233.6 kB / 356.9 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.24, allocations: 59.28 kB / 357 MB, free: 3.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.2414, allocations: 0.8442 MB / 357.8 MB, free: 2.891 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.2415, allocations: 8 kB / 357.8 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.2415, allocations: 11.98 kB / 357.8 MB, free: 2.871 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.2415, allocations: 3.984 kB / 357.8 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/0.2441, allocations: 1.92 MB / 359.8 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.2441, allocations: 4 kB / 359.8 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005669/0.2447, allocations: 131.8 kB / 359.9 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002651/0.245, allocations: 111.6 kB / 360 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.245, allocations: 20 kB / 360 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003448/0.2485, allocations: 5.334 MB / 365.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2485, allocations: 0 / 365.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.2503, allocations: 1.382 MB / 366.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.2504, allocations: 140.4 kB / 366.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/0.2505, allocations: 20 kB / 366.9 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.2509, allocations: 23.95 kB / 366.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.534e-05/0.251, allocations: 60.52 kB / 367 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.251, allocations: 31.98 kB / 367 MB, free: 8.887 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002742/0.2513, allocations: 255.2 kB / 367.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2513, allocations: 0 / 367.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009571/0.2523, allocations: 268.3 kB / 367.5 MB, free: 8.375 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003035/0.2526, allocations: 147 kB / 367.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.2542, allocations: 1.164 MB / 368.8 MB, free: 7.004 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2542, allocations: 0 / 368.8 MB, free: 7.004 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008158/0.255, allocations: 0.7971 MB / 369.6 MB, free: 6.152 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.2554, allocations: 53.33 kB / 369.7 MB, free: 6.102 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.2576, allocations: 1.703 MB / 371.4 MB, free: 4.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.2581, allocations: 0.9363 MB / 372.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004994/0.2586, allocations: 105.1 kB / 372.4 MB, free: 3.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.2588, allocations: 51.42 kB / 372.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of SimCode: time 1.593e-06/0.2588, allocations: 0 / 372.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of Templates: time 0.0113/0.2701, allocations: 6.579 MB / 379 MB, free: 12.64 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) Environment - environmentSimulation: