Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009362/0.0009362, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.0009532/0.0009532, allocations: 180.4 kB / 17.2 MB, free: 5.914 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.345/1.345, allocations: 205.4 MB / 223.4 MB, free: 5.301 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.0004807/0.0004808, allocations: 12 kB / 280.1 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2406, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002335/0.243, allocations: 2.14 MB / 329.9 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.2448, allocations: 1.076 MB / 330.9 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.2449, allocations: 15.47 kB / 331 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.2453, allocations: 104.9 kB / 331.1 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.2456, allocations: 117.9 kB / 331.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.2467, allocations: 0.554 MB / 331.7 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.247, allocations: 209.1 kB / 331.9 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008855/0.2479, allocations: 0.4993 MB / 332.4 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.2481, allocations: 104.3 kB / 332.5 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.2483, allocations: 132.1 kB / 332.7 MB, free: 13.69 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.2483, allocations: 13.34 kB / 332.7 MB, free: 13.69 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.2486, allocations: 146.4 kB / 332.8 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.2487, allocations: 37.41 kB / 332.9 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.368e-05/0.2488, allocations: 81.2 kB / 332.9 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004204/0.2492, allocations: 365.7 kB / 333.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.2492, allocations: 0 / 333.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2492, allocations: 5.312 kB / 333.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2492, allocations: 0 / 333.3 MB, free: 13.27 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.00156/0.2508, allocations: 0.6677 MB / 334 MB, free: 12.7 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.2509, allocations: 8.938 kB / 334 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008103/0.2517, allocations: 121.1 kB / 334.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.252, allocations: 251.4 kB / 334.3 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.252, allocations: 28.48 kB / 334.4 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.2521, allocations: 37.64 kB / 334.4 MB, free: 12.35 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.2526, allocations: 325.2 kB / 334.7 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.2527, allocations: 1.156 kB / 334.7 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.2527, allocations: 15.22 kB / 334.7 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.2527, allocations: 8 kB / 334.7 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004061/0.2531, allocations: 241.6 kB / 335 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.2551, allocations: 1.451 MB / 336.4 MB, free: 10.51 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006587/0.2558, allocations: 0.7044 MB / 337.1 MB, free: 9.688 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.2559, allocations: 93.03 kB / 337.2 MB, free: 9.578 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.2559, allocations: 30.56 kB / 337.3 MB, free: 9.539 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 1.854e-06/0.2559, allocations: 0 / 337.3 MB, free: 9.539 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001212/0.2571, allocations: 491.3 kB / 337.7 MB, free: 9.031 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.2572, allocations: 59.36 kB / 337.8 MB, free: 8.961 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.2573, allocations: 175.3 kB / 338 MB, free: 8.777 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.2574, allocations: 29.7 kB / 338 MB, free: 8.742 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.2575, allocations: 176 kB / 338.2 MB, free: 8.562 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.2575, allocations: 86.75 kB / 338.2 MB, free: 8.477 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.2576, allocations: 4 kB / 338.2 MB, free: 8.473 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2577, allocations: 326.8 kB / 338.6 MB, free: 8.145 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.2578, allocations: 64.53 kB / 338.6 MB, free: 8.082 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.2579, allocations: 128.2 kB / 338.8 MB, free: 7.934 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.2581, allocations: 93.09 kB / 338.8 MB, free: 7.844 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2581, allocations: 0 / 338.8 MB, free: 7.844 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005249/0.2586, allocations: 320.9 kB / 339.2 MB, free: 7.523 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.2587, allocations: 4 kB / 339.2 MB, free: 7.52 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2587, allocations: 7.984 kB / 339.2 MB, free: 7.512 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003072/0.259, allocations: 68.81 kB / 339.2 MB, free: 7.441 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.2592, allocations: 48.05 kB / 339.3 MB, free: 7.395 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.2611, allocations: 1.862 MB / 341.1 MB, free: 5.398 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.2612, allocations: 23.75 kB / 341.2 MB, free: 5.375 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.2612, allocations: 8 kB / 341.2 MB, free: 5.367 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.2614, allocations: 145.8 kB / 341.3 MB, free: 5.215 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.2614, allocations: 19.88 kB / 341.3 MB, free: 5.195 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.262, allocations: 300.5 kB / 341.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.262, allocations: 0 / 341.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.262, allocations: 4 kB / 341.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.262, allocations: 0 / 341.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009071/0.2629, allocations: 0.6905 MB / 342.3 MB, free: 4.145 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2629, allocations: 0 / 342.3 MB, free: 4.145 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.263, allocations: 23.98 kB / 342.4 MB, free: 4.121 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/0.2633, allocations: 76.69 kB / 342.4 MB, free: 4.043 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2633, allocations: 8 kB / 342.4 MB, free: 4.035 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.265, allocations: 1.847 MB / 344.3 MB, free: 2.051 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.265, allocations: 0 / 344.3 MB, free: 2.051 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006009/0.2656, allocations: 455.7 kB / 344.7 MB, free: 1.586 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.537e-05/0.2657, allocations: 108.9 kB / 344.8 MB, free: 1.461 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.2658, allocations: 11.92 kB / 344.8 MB, free: 1.449 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.2659, allocations: 4 kB / 344.9 MB, free: 1.445 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.2659, allocations: 19.92 kB / 344.9 MB, free: 1.426 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.2659, allocations: 8 kB / 344.9 MB, free: 1.418 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.2661, allocations: 131.5 kB / 345 MB, free: 1.289 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2661, allocations: 0 / 345 MB, free: 1.289 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000508/0.2666, allocations: 91.91 kB / 345.1 MB, free: 1.199 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002195/0.2668, allocations: 123.2 kB / 345.2 MB, free: 1.07 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006126/0.2674, allocations: 350.4 kB / 345.6 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.2674, allocations: 4 kB / 345.6 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.2678, allocations: 239.1 kB / 345.8 MB, free: 476 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.268, allocations: 19.89 kB / 345.8 MB, free: 456 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.2691, allocations: 0.7182 MB / 346.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.2695, allocations: 0.7596 MB / 347.3 MB, free: 14.91 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.2696, allocations: 25.94 kB / 347.3 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.2696, allocations: 19.44 kB / 347.3 MB, free: 14.87 MB / 286.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2696, allocations: 0 / 347.3 MB, free: 14.87 MB / 286.1 MB Notification: Performance of Templates: time 0.005968/0.2756, allocations: 2.335 MB / 349.7 MB, free: 12.53 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) Environment - environmentSimulation: