Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.00109/0.00109, 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.001206/0.001206, allocations: 197 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.498/1.498, 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.001289/0.001289, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2614, allocations: 46.63 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007652/0.2691, allocations: 6.456 MB / 331.8 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005218/0.2743, allocations: 2.58 MB / 334.3 MB, free: 10.64 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006038/0.275, allocations: 23.56 kB / 334.4 MB, free: 10.63 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002955/0.278, allocations: 1.273 MB / 335.6 MB, free: 9.562 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.2799, allocations: 0.7146 MB / 336.4 MB, free: 8.844 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.2822, allocations: 1.105 MB / 337.5 MB, free: 7.734 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.2836, allocations: 1.086 MB / 338.5 MB, free: 6.637 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.2849, allocations: 0.9083 MB / 339.5 MB, free: 5.711 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005678/0.2855, allocations: 446.4 kB / 339.9 MB, free: 5.273 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006615/0.2861, allocations: 0.5562 MB / 340.4 MB, free: 4.715 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.2863, allocations: 100 kB / 340.5 MB, free: 4.617 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009632/0.2872, allocations: 407.6 kB / 340.9 MB, free: 4.219 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.2875, allocations: 239.1 kB / 341.2 MB, free: 3.984 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004768/0.2879, allocations: 0.5325 MB / 341.7 MB, free: 3.449 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.2896, allocations: 1.499 MB / 343.2 MB, free: 1.945 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2896, allocations: 4 kB / 343.2 MB, free: 1.941 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2896, allocations: 0 / 343.2 MB, free: 1.941 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.2897, allocations: 0 / 343.2 MB, free: 1.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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004441/0.2941, allocations: 1.655 MB / 344.9 MB, free: 240 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.2942, allocations: 8.031 kB / 344.9 MB, free: 232 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/0.298, allocations: 0.5733 MB / 345.4 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006952/0.2988, allocations: 0.4979 MB / 345.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.343e-05/0.2989, allocations: 82.3 kB / 346 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.299, allocations: 116 kB / 346.1 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.3009, allocations: 1.011 MB / 347.1 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.3009, allocations: 7.938 kB / 347.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.3011, allocations: 48 kB / 347.2 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.3011, allocations: 28 kB / 347.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.3031, allocations: 1.024 MB / 348.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006208/0.3093, allocations: 3.877 MB / 352.1 MB, free: 8.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.3121, allocations: 2.064 MB / 354.2 MB, free: 6.324 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007979/0.3129, allocations: 447.5 kB / 354.6 MB, free: 5.883 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.313, allocations: 102.1 kB / 354.7 MB, free: 5.766 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008835/0.3139, allocations: 478.5 kB / 355.2 MB, free: 5.273 MB / 286.1 MB Notification: Performance of pre-optimization done (n=98): time 3.677e-06/0.3139, allocations: 0 / 355.2 MB, free: 5.273 MB / 286.1 MB Notification: Performance of matching and sorting (n=127): time 0.009274/0.3232, allocations: 4.018 MB / 359.2 MB, free: 1.141 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.584e-05/0.3233, allocations: 145.5 kB / 359.4 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.3238, allocations: 409.8 kB / 359.8 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.359e-05/0.3239, allocations: 49.7 kB / 359.8 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.3243, allocations: 439.4 kB / 360.2 MB, free: 68 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/0.3246, allocations: 437.8 kB / 360.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003094/0.3249, allocations: 210.9 kB / 360.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3251, allocations: 390.6 kB / 361.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007095/0.3258, allocations: 366.4 kB / 361.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008651/0.3267, allocations: 0.5799 MB / 362.2 MB, free: 14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.3283, allocations: 1.01 MB / 363.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.3283, allocations: 4 kB / 363.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002615/0.331, allocations: 1.433 MB / 364.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.331, allocations: 8 kB / 364.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.331, allocations: 4 kB / 364.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008906/0.3319, allocations: 358.9 kB / 365 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008755/0.3328, allocations: 215.7 kB / 365.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007915/0.3407, allocations: 8.491 MB / 373.7 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008562/0.3416, allocations: 47.98 kB / 373.7 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/0.3417, allocations: 52.11 kB / 373.8 MB, free: 1.734 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.0004623/0.3422, allocations: 261.7 kB / 374.1 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.3423, allocations: 75.06 kB / 374.1 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.3448, allocations: 1.329 MB / 375.5 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.3449, allocations: 16 kB / 375.5 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.3449, allocations: 11.88 kB / 375.5 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.3449, allocations: 3.984 kB / 375.5 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00414/0.349, allocations: 2.565 MB / 378.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3491, allocations: 0 / 378.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007024/0.3498, allocations: 163.7 kB / 378.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008039/0.3506, allocations: 331.4 kB / 378.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.3507, allocations: 28 kB / 378.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007384/0.3581, allocations: 8.117 MB / 386.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3581, allocations: 8.062 kB / 386.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003257/0.3613, allocations: 1.827 MB / 388.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.3617, allocations: 228 kB / 388.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.3618, allocations: 27.94 kB / 388.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/0.3624, allocations: 47.97 kB / 388.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.3626, allocations: 88.88 kB / 388.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.3627, allocations: 39.92 kB / 388.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003229/0.363, allocations: 279.2 kB / 389.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.363, allocations: 0 / 389.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001222/0.3642, allocations: 320 kB / 389.5 MB, free: 1.254 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.0003097/0.3645, allocations: 191 kB / 389.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003486/0.368, allocations: 1.672 MB / 391.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.3681, allocations: 0 / 391.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.3699, allocations: 1.146 MB / 392.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.3705, allocations: 73.55 kB / 392.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.3746, allocations: 2 MB / 394.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008264/0.3754, allocations: 1.025 MB / 395.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005066/0.3759, allocations: 106.4 kB / 395.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.3761, allocations: 59.42 kB / 395.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of SimCode: time 1.011e-06/0.3761, allocations: 0 / 395.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of Templates: time 0.02021/0.3963, allocations: 11.09 MB / 406.9 MB, free: 15.69 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1)