Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00167/0.00167, 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.00118/0.00118, allocations: 196.7 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.353/1.353, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.001253/0.001253, allocations: 59.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2049, 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.CylinderLeakage): time 0.006043/0.211, allocations: 5.215 MB / 330.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.2142, allocations: 1.714 MB / 332.3 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000719/0.215, allocations: 15.62 kB / 332.3 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00337/0.2183, allocations: 1.415 MB / 333.7 MB, free: 11.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.2194, allocations: 314.1 kB / 334 MB, free: 10.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.2212, allocations: 0.8039 MB / 334.8 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.2225, allocations: 0.8064 MB / 335.6 MB, free: 9.613 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.2236, allocations: 0.7666 MB / 336.4 MB, free: 8.844 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/0.2241, allocations: 358.7 kB / 336.7 MB, free: 8.492 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004833/0.2246, allocations: 466.2 kB / 337.2 MB, free: 8.035 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.931e-05/0.2247, allocations: 76 kB / 337.2 MB, free: 7.961 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005894/0.2253, allocations: 259.8 kB / 337.5 MB, free: 7.707 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2254, allocations: 175.3 kB / 337.7 MB, free: 7.535 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.2258, allocations: 429.9 kB / 338.1 MB, free: 7.113 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.2269, allocations: 1.164 MB / 339.3 MB, free: 5.945 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.227, allocations: 3.938 kB / 339.3 MB, free: 5.941 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.227, allocations: 0 / 339.3 MB, free: 5.941 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.227, allocations: 0 / 339.3 MB, free: 5.941 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.003753/0.2307, allocations: 1.447 MB / 340.7 MB, free: 4.441 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2308, allocations: 8.031 kB / 340.7 MB, free: 4.434 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.2324, allocations: 263.7 kB / 341 MB, free: 4.176 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.2326, allocations: 263.2 kB / 341.2 MB, free: 3.879 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.2327, allocations: 70.38 kB / 341.3 MB, free: 3.812 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.2328, allocations: 104.3 kB / 341.4 MB, free: 3.711 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.2342, allocations: 0.9422 MB / 342.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.2342, allocations: 4 kB / 342.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.2343, allocations: 36 kB / 342.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.2343, allocations: 24 kB / 342.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.2356, allocations: 0.7854 MB / 343.2 MB, free: 1.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004582/0.2401, allocations: 3.377 MB / 346.6 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.242, allocations: 1.259 MB / 347.8 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.2425, allocations: 377.1 kB / 348.2 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-05/0.2426, allocations: 98.08 kB / 348.3 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.2427, allocations: 47.56 kB / 348.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of pre-optimization done (n=87): time 3.858e-06/0.2427, allocations: 0 / 348.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=87): time 0.002043/0.2447, allocations: 1.308 MB / 349.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.2448, allocations: 86.11 kB / 349.7 MB, free: 10.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.2452, allocations: 364.4 kB / 350.1 MB, free: 10.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.2452, allocations: 37.7 kB / 350.1 MB, free: 10.55 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.2454, allocations: 386.8 kB / 350.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.2456, allocations: 299.7 kB / 350.8 MB, free: 9.863 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.2459, allocations: 174.8 kB / 351 MB, free: 9.688 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.246, allocations: 358.8 kB / 351.3 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.2464, allocations: 266.5 kB / 351.6 MB, free: 9.066 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/0.247, allocations: 471.4 kB / 352 MB, free: 8.531 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.248, allocations: 0.7784 MB / 352.8 MB, free: 7.672 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.248, allocations: 3.938 kB / 352.8 MB, free: 7.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001766/0.2498, allocations: 0.9807 MB / 353.8 MB, free: 6.672 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.2499, allocations: 8 kB / 353.8 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.2499, allocations: 4 kB / 353.8 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003721/0.2503, allocations: 123.4 kB / 353.9 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007691/0.251, allocations: 207.7 kB / 354.1 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004336/0.2554, allocations: 6.118 MB / 360.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/0.256, allocations: 102.9 kB / 360.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.2561, allocations: 44.06 kB / 360.4 MB, free: 15.5 MB / 302.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003279/0.2564, allocations: 233.4 kB / 360.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.2565, allocations: 55.34 kB / 360.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.2579, allocations: 0.8444 MB / 361.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.258, allocations: 12 kB / 361.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.258, allocations: 0 / 361.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.258, allocations: 11.86 kB / 361.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.2607, allocations: 1.929 MB / 363.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.2607, allocations: 4.281 kB / 363.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/0.2613, allocations: 143.8 kB / 363.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002883/0.2616, allocations: 107.4 kB / 363.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/0.2617, allocations: 20 kB / 363.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003481/0.2651, allocations: 5.705 MB / 369.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2652, allocations: 3.938 kB / 369.4 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.2668, allocations: 1.272 MB / 370.7 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.267, allocations: 144.3 kB / 370.9 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.449e-05/0.2671, allocations: 31.92 kB / 370.9 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.2675, allocations: 23.94 kB / 370.9 MB, free: 4.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.2676, allocations: 60.52 kB / 371 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.2676, allocations: 24 kB / 371 MB, free: 4.078 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002595/0.2679, allocations: 259.2 kB / 371.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2679, allocations: 4.062 kB / 371.3 MB, free: 3.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008666/0.2688, allocations: 259.4 kB / 371.5 MB, free: 3.562 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000243/0.269, allocations: 147.1 kB / 371.7 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002001/0.271, allocations: 1.211 MB / 372.9 MB, free: 2.148 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.271, allocations: 0 / 372.9 MB, free: 2.148 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008063/0.2719, allocations: 0.7893 MB / 373.7 MB, free: 1.309 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.2724, allocations: 69.3 kB / 373.7 MB, free: 1.242 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.2748, allocations: 1.415 MB / 375.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.2752, allocations: 0.911 MB / 376 MB, free: 14.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005086/0.2758, allocations: 109.1 kB / 376.2 MB, free: 14.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.2759, allocations: 51.42 kB / 376.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2759, allocations: 0 / 376.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of Templates: time 0.0124/0.2883, allocations: 7.137 MB / 383.3 MB, free: 7.527 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1)