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.001126/0.001126, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001234/0.001234, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.349/1.349, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.001131/0.001131, allocations: 47.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2601, allocations: 46.63 MB / 324.9 MB, free: 1.961 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007132/0.2673, allocations: 6.42 MB / 331.3 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004471/0.2718, allocations: 2.545 MB / 333.8 MB, free: 10.85 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005122/0.2723, allocations: 18.47 kB / 333.8 MB, free: 10.85 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00281/0.2752, allocations: 1.202 MB / 335 MB, free: 9.902 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.2768, allocations: 0.6336 MB / 335.7 MB, free: 9.266 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.2788, allocations: 1.02 MB / 336.7 MB, free: 8.242 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.2803, allocations: 1.094 MB / 337.8 MB, free: 7.137 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.2816, allocations: 0.9747 MB / 338.8 MB, free: 6.141 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005881/0.2822, allocations: 450.3 kB / 339.2 MB, free: 5.699 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005959/0.2828, allocations: 0.5602 MB / 339.8 MB, free: 5.137 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.283, allocations: 96 kB / 339.9 MB, free: 5.043 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000852/0.2838, allocations: 411.6 kB / 340.3 MB, free: 4.641 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.284, allocations: 239.1 kB / 340.5 MB, free: 4.406 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004488/0.2845, allocations: 0.5325 MB / 341 MB, free: 3.871 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.286, allocations: 1.503 MB / 342.5 MB, free: 2.363 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.286, allocations: 0 / 342.5 MB, free: 2.363 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2861, allocations: 0 / 342.5 MB, free: 2.363 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.2861, allocations: 0 / 342.5 MB, free: 2.363 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.004093/0.2902, allocations: 1.655 MB / 344.2 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2902, allocations: 12.03 kB / 344.2 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/0.2939, allocations: 0.5694 MB / 344.8 MB, free: 76 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/0.2946, allocations: 0.4902 MB / 345.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.837e-05/0.2947, allocations: 94.3 kB / 345.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.2948, allocations: 112 kB / 345.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.2966, allocations: 1.007 MB / 346.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.2967, allocations: 4 kB / 346.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.946e-05/0.2968, allocations: 44 kB / 346.5 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.2968, allocations: 31.98 kB / 346.5 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.2986, allocations: 1.024 MB / 347.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005759/0.3044, allocations: 3.889 MB / 351.4 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00239/0.3068, allocations: 2.052 MB / 353.5 MB, free: 6.758 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007789/0.3076, allocations: 439.7 kB / 353.9 MB, free: 6.328 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.3078, allocations: 106.2 kB / 354 MB, free: 6.207 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009087/0.3087, allocations: 486.4 kB / 354.5 MB, free: 5.703 MB / 286.1 MB Notification: Performance of pre-optimization done (n=98): time 3.045e-06/0.3087, allocations: 0 / 354.5 MB, free: 5.703 MB / 286.1 MB Notification: Performance of matching and sorting (n=127): time 0.008653/0.3174, allocations: 4.018 MB / 358.5 MB, free: 1.57 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.538e-05/0.3175, allocations: 145.5 kB / 358.7 MB, free: 1.398 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.318, allocations: 409.8 kB / 359.1 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.092e-05/0.3181, allocations: 49.7 kB / 359.1 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.3184, allocations: 439.4 kB / 359.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/0.3188, allocations: 425.8 kB / 360 MB, free: 76 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/0.3191, allocations: 218.9 kB / 360.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3193, allocations: 382.7 kB / 360.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007028/0.32, allocations: 362.5 kB / 360.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008367/0.3209, allocations: 0.5915 MB / 361.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.3224, allocations: 0.998 MB / 362.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3224, allocations: 0 / 362.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002497/0.3249, allocations: 1.444 MB / 363.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.325, allocations: 8 kB / 363.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.325, allocations: 8 kB / 364 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008706/0.3259, allocations: 347.1 kB / 364.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008713/0.3267, allocations: 227.6 kB / 364.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008556/0.3353, allocations: 8.491 MB / 373 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009152/0.3363, allocations: 55.95 kB / 373.1 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.419e-05/0.3364, allocations: 51.98 kB / 373.1 MB, free: 2.164 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.0005006/0.3369, allocations: 261.5 kB / 373.4 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.337, allocations: 71.16 kB / 373.4 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.3395, allocations: 1.325 MB / 374.8 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.3395, allocations: 12 kB / 374.8 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.3396, allocations: 11.94 kB / 374.8 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.3396, allocations: 7.969 kB / 374.8 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/0.3436, allocations: 2.557 MB / 377.4 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.3436, allocations: 4 kB / 377.4 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/0.3443, allocations: 159.8 kB / 377.5 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008027/0.3451, allocations: 337.7 kB / 377.8 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/0.3452, allocations: 27.98 kB / 377.9 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007053/0.3522, allocations: 8.111 MB / 386 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.3523, allocations: 0 / 386 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003286/0.3556, allocations: 1.843 MB / 387.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.356, allocations: 232 kB / 388 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.3561, allocations: 28.06 kB / 388.1 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/0.3566, allocations: 35.98 kB / 388.1 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/0.3569, allocations: 112.7 kB / 388.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.3569, allocations: 35.98 kB / 388.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002952/0.3572, allocations: 275.2 kB / 388.5 MB, free: 1.996 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3572, allocations: 0 / 388.5 MB, free: 1.996 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001168/0.3584, allocations: 320 kB / 388.8 MB, free: 1.684 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.0002878/0.3587, allocations: 167 kB / 389 MB, free: 1.512 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00328/0.362, allocations: 1.678 MB / 390.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.362, allocations: 1.438 kB / 390.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.3636, allocations: 1.146 MB / 391.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.3642, allocations: 81.48 kB / 391.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.3681, allocations: 2.475 MB / 394.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.3687, allocations: 1.028 MB / 395.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005308/0.3692, allocations: 102.4 kB / 395.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.3694, allocations: 63.42 kB / 395.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3694, allocations: 0 / 395.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of Templates: time 0.01975/0.3892, allocations: 11.11 MB / 406.7 MB, free: 15.63 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)