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.001155/0.001155, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001455/0.001455, allocations: 192.6 kB / 16.14 MB, free: 6.707 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.412/1.412, allocations: 205.1 MB / 222 MB, free: 4.973 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.00112/0.00112, allocations: 39.94 kB / 278 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2479, allocations: 46.64 MB / 324.7 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007358/0.2553, allocations: 6.417 MB / 331.1 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005112/0.2604, allocations: 2.559 MB / 333.7 MB, free: 10.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009475/0.2615, allocations: 18.31 kB / 333.7 MB, free: 10.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003208/0.2647, allocations: 1.192 MB / 334.9 MB, free: 9.836 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.2675, allocations: 0.6437 MB / 335.5 MB, free: 9.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.27, allocations: 1.067 MB / 336.6 MB, free: 8.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.2714, allocations: 1.036 MB / 337.6 MB, free: 7.203 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.2728, allocations: 0.8006 MB / 338.4 MB, free: 6.383 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008648/0.2737, allocations: 418.3 kB / 338.8 MB, free: 5.973 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007238/0.2744, allocations: 0.5406 MB / 339.4 MB, free: 5.43 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.2746, allocations: 68 kB / 339.4 MB, free: 5.363 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.2758, allocations: 379.7 kB / 339.8 MB, free: 4.992 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.2761, allocations: 207.1 kB / 340 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005162/0.2766, allocations: 0.5052 MB / 340.5 MB, free: 4.281 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.2782, allocations: 1.479 MB / 342 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2783, allocations: 0 / 342 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2783, allocations: 0 / 342 MB, free: 2.797 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.2783, allocations: 0 / 342 MB, free: 2.797 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.00439/0.2827, allocations: 1.656 MB / 343.6 MB, free: 1.09 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.2828, allocations: 12.03 kB / 343.7 MB, free: 1.078 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003831/0.2866, allocations: 0.5694 MB / 344.2 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007838/0.2874, allocations: 0.4942 MB / 344.7 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.91e-05/0.2875, allocations: 86.3 kB / 344.8 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.2876, allocations: 112 kB / 344.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.2895, allocations: 1.011 MB / 345.9 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.2896, allocations: 4 kB / 345.9 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.2897, allocations: 48 kB / 346 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/0.2897, allocations: 31.98 kB / 346 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.2916, allocations: 1.032 MB / 347 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005936/0.2976, allocations: 3.877 MB / 350.9 MB, free: 9.512 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.2999, allocations: 2.052 MB / 353 MB, free: 7.191 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007528/0.3006, allocations: 444.3 kB / 353.4 MB, free: 6.758 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.3008, allocations: 110 kB / 353.5 MB, free: 6.633 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008468/0.3016, allocations: 478.5 kB / 354 MB, free: 6.137 MB / 286.1 MB Notification: Performance of pre-optimization done (n=98): time 4.037e-06/0.3016, allocations: 0 / 354 MB, free: 6.137 MB / 286.1 MB Notification: Performance of matching and sorting (n=127): time 0.008752/0.3104, allocations: 4.01 MB / 358 MB, free: 2.008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.3105, allocations: 141.5 kB / 358.1 MB, free: 1.84 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004849/0.311, allocations: 413.8 kB / 358.5 MB, free: 1.43 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.3111, allocations: 45.7 kB / 358.6 MB, free: 1.379 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.3114, allocations: 439.4 kB / 359 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/0.3117, allocations: 429.8 kB / 359.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003045/0.312, allocations: 222.8 kB / 359.6 MB, free: 296 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3122, allocations: 374.7 kB / 360 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006765/0.3129, allocations: 366.5 kB / 360.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000855/0.3137, allocations: 0.5876 MB / 360.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.3153, allocations: 0.998 MB / 361.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.3153, allocations: 7.938 kB / 362 MB, free: 13.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002562/0.3179, allocations: 1.436 MB / 363.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3179, allocations: 8 kB / 363.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.318, allocations: 4 kB / 363.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008964/0.3189, allocations: 359.1 kB / 363.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008851/0.3198, allocations: 219.6 kB / 364 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00812/0.3279, allocations: 7.742 MB / 371.7 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008942/0.3288, allocations: 52.16 kB / 371.8 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.3289, allocations: 48 kB / 371.8 MB, free: 3.387 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.0004731/0.3294, allocations: 265.6 kB / 372.1 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.3295, allocations: 75.14 kB / 372.1 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/0.3321, allocations: 1.325 MB / 373.5 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3321, allocations: 16 kB / 373.5 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.3321, allocations: 11.94 kB / 373.5 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.3321, allocations: 3.984 kB / 373.5 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004205/0.3363, allocations: 2.557 MB / 376.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.3363, allocations: 0 / 376.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006918/0.337, allocations: 164 kB / 376.2 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008013/0.3379, allocations: 327.2 kB / 376.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-05/0.3379, allocations: 31.94 kB / 376.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007301/0.3452, allocations: 7.436 MB / 384 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.3453, allocations: 4 kB / 384 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003302/0.3486, allocations: 1.843 MB / 385.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/0.349, allocations: 224.1 kB / 386.1 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.3491, allocations: 24 kB / 386.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/0.3496, allocations: 39.98 kB / 386.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/0.3499, allocations: 92.86 kB / 386.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/0.3499, allocations: 39.94 kB / 386.3 MB, free: 4.199 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003417/0.3503, allocations: 287.1 kB / 386.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3503, allocations: 0 / 386.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001253/0.3515, allocations: 316 kB / 386.8 MB, free: 3.613 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.0003339/0.3519, allocations: 171 kB / 387 MB, free: 3.438 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002841/0.3547, allocations: 1.635 MB / 388.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.3548, allocations: 5.438 kB / 388.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.3564, allocations: 1.15 MB / 389.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006508/0.357, allocations: 77.55 kB / 389.9 MB, free: 476 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.3613, allocations: 2.478 MB / 392.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/0.362, allocations: 1.028 MB / 393.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005338/0.3625, allocations: 106.4 kB / 393.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.3627, allocations: 59.36 kB / 393.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3627, allocations: 4 kB / 393.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Templates: time 0.01811/0.3808, allocations: 10.59 MB / 404.1 MB, free: 2.105 MB / 334.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)