Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.LinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, 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.001144/0.001144, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.351/1.351, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001376/0.001376, allocations: 52.34 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2222, allocations: 46.64 MB / 325.3 MB, free: 1.961 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007049/0.2292, allocations: 6.444 MB / 331.8 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004191/0.2335, allocations: 2.58 MB / 334.3 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.2339, allocations: 18.25 kB / 334.4 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002642/0.2365, allocations: 1.281 MB / 335.6 MB, free: 9.691 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.238, allocations: 0.7107 MB / 336.3 MB, free: 8.977 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.24, allocations: 1.113 MB / 337.5 MB, free: 7.859 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009811/0.241, allocations: 1.082 MB / 338.5 MB, free: 6.766 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.2421, allocations: 0.9122 MB / 339.5 MB, free: 5.836 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000428/0.2426, allocations: 446.4 kB / 339.9 MB, free: 5.398 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/0.2432, allocations: 0.5602 MB / 340.5 MB, free: 4.836 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.2433, allocations: 96 kB / 340.5 MB, free: 4.742 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007124/0.244, allocations: 411.6 kB / 340.9 MB, free: 4.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.2442, allocations: 235.1 kB / 341.2 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004113/0.2446, allocations: 0.5325 MB / 341.7 MB, free: 3.574 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.246, allocations: 1.499 MB / 343.2 MB, free: 2.07 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.246, allocations: 0 / 343.2 MB, free: 2.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.246, allocations: 4 kB / 343.2 MB, free: 2.066 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.246, allocations: 4 kB / 343.2 MB, free: 2.062 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.00397/0.25, allocations: 1.652 MB / 344.9 MB, free: 368 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2501, allocations: 12.03 kB / 344.9 MB, free: 356 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003719/0.2538, allocations: 0.5694 MB / 345.4 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005939/0.2544, allocations: 0.4941 MB / 345.9 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/0.2545, allocations: 86.3 kB / 346 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.2546, allocations: 112 kB / 346.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.2564, allocations: 1.014 MB / 347.2 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/0.2564, allocations: 7.938 kB / 347.2 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.2565, allocations: 48 kB / 347.2 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.2565, allocations: 32 kB / 347.2 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.2584, allocations: 1.02 MB / 348.3 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005663/0.2641, allocations: 3.881 MB / 352.1 MB, free: 8.781 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.2663, allocations: 2.056 MB / 354.2 MB, free: 6.453 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007536/0.2671, allocations: 447.5 kB / 354.6 MB, free: 6.012 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.2672, allocations: 106.2 kB / 354.7 MB, free: 5.891 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008009/0.268, allocations: 470.5 kB / 355.2 MB, free: 5.406 MB / 286.1 MB Notification: Performance of pre-optimization done (n=98): time 2.805e-06/0.268, allocations: 4 kB / 355.2 MB, free: 5.402 MB / 286.1 MB Notification: Performance of matching and sorting (n=127): time 0.008856/0.2769, allocations: 4.026 MB / 359.2 MB, free: 1.262 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.277, allocations: 141.5 kB / 359.4 MB, free: 1.094 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.2775, allocations: 409.8 kB / 359.8 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.535e-05/0.2776, allocations: 49.7 kB / 359.8 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.2779, allocations: 439.4 kB / 360.2 MB, free: 196 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.2783, allocations: 433.7 kB / 360.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/0.2786, allocations: 214.9 kB / 360.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2788, allocations: 390.6 kB / 361.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007024/0.2795, allocations: 362.4 kB / 361.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008446/0.2803, allocations: 0.5799 MB / 362.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.2819, allocations: 1.01 MB / 363.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.282, allocations: 4 kB / 363.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002579/0.2845, allocations: 1.433 MB / 364.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.2846, allocations: 8 kB / 364.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.2846, allocations: 7.984 kB / 364.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008759/0.2855, allocations: 355.1 kB / 365 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008553/0.2863, allocations: 219.7 kB / 365.2 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007592/0.2939, allocations: 8.491 MB / 373.7 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006864/0.2946, allocations: 51.89 kB / 373.8 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.796e-05/0.2947, allocations: 51.98 kB / 373.8 MB, free: 1.855 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: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004053/0.2951, allocations: 261.7 kB / 374.1 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.2953, allocations: 71.16 kB / 374.1 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/0.2977, allocations: 1.325 MB / 375.5 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.2978, allocations: 12 kB / 375.5 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.2978, allocations: 11.88 kB / 375.5 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.2978, allocations: 11.92 kB / 375.5 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004126/0.3019, allocations: 2.561 MB / 378 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.3019, allocations: 0 / 378 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006994/0.3027, allocations: 163.7 kB / 378.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007991/0.3035, allocations: 335.4 kB / 378.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-05/0.3035, allocations: 24 kB / 378.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007753/0.3113, allocations: 8.117 MB / 386.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/0.3113, allocations: 12.08 kB / 386.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/0.3145, allocations: 1.831 MB / 388.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/0.3148, allocations: 228 kB / 388.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.3149, allocations: 23.94 kB / 388.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/0.3155, allocations: 43.97 kB / 388.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.3156, allocations: 92.88 kB / 388.9 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/0.3157, allocations: 43.92 kB / 388.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002982/0.316, allocations: 279.2 kB / 389.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.316, allocations: 0 / 389.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001199/0.3172, allocations: 320 kB / 389.5 MB, free: 1.375 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003149/0.3176, allocations: 179 kB / 389.7 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003321/0.3209, allocations: 1.668 MB / 391.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.3209, allocations: 12.12 kB / 391.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.3227, allocations: 1.142 MB / 392.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.3233, allocations: 73.55 kB / 392.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.3271, allocations: 2.003 MB / 394.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/0.3278, allocations: 1.025 MB / 395.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004912/0.3283, allocations: 106.4 kB / 395.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.3284, allocations: 59.42 kB / 395.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3284, allocations: 0 / 395.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of Templates: time 0.02053/0.349, allocations: 11.09 MB / 406.9 MB, free: 15.81 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1)