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.001431/0.001431, 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.001995/0.001995, allocations: 189.6 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.41/1.41, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.001209/0.001209, allocations: 47.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2564, allocations: 46.62 MB / 324.8 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007495/0.2639, allocations: 6.425 MB / 331.3 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004799/0.2687, allocations: 2.537 MB / 333.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006629/0.2695, allocations: 26.22 kB / 333.8 MB, free: 10.83 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.2723, allocations: 1.193 MB / 335 MB, free: 9.902 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.274, allocations: 0.6375 MB / 335.7 MB, free: 9.262 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.2762, allocations: 1.028 MB / 336.7 MB, free: 8.23 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.2775, allocations: 1.082 MB / 337.8 MB, free: 7.137 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.2789, allocations: 0.9825 MB / 338.8 MB, free: 6.133 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005558/0.2795, allocations: 454.3 kB / 339.2 MB, free: 5.688 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006033/0.2801, allocations: 0.5524 MB / 339.8 MB, free: 5.133 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.2802, allocations: 100 kB / 339.9 MB, free: 5.035 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009675/0.2812, allocations: 403.6 kB / 340.2 MB, free: 4.641 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002129/0.2814, allocations: 243.1 kB / 340.5 MB, free: 4.402 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004815/0.2819, allocations: 0.5364 MB / 341 MB, free: 3.863 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.2838, allocations: 1.495 MB / 342.5 MB, free: 2.363 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.2838, allocations: 0 / 342.5 MB, free: 2.363 MB / 270.1 MB Notification: Performance of FrontEnd: time 5.641e-06/0.2838, allocations: 0 / 342.5 MB, free: 2.363 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.07e-05/0.2838, allocations: 3.938 kB / 342.5 MB, free: 2.359 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.004336/0.2882, allocations: 1.655 MB / 344.2 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.2882, allocations: 8.031 kB / 344.2 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/0.2919, allocations: 0.5733 MB / 344.8 MB, free: 72 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008342/0.2928, allocations: 0.4941 MB / 345.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.323e-05/0.2929, allocations: 86.28 kB / 345.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.293, allocations: 116 kB / 345.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.295, allocations: 1.011 MB / 346.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.295, allocations: 4 kB / 346.5 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.2951, allocations: 47.98 kB / 346.5 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.2952, allocations: 28 kB / 346.5 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.297, allocations: 1.028 MB / 347.6 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006141/0.3031, allocations: 3.873 MB / 351.4 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/0.3053, allocations: 2.06 MB / 353.5 MB, free: 6.754 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007587/0.3061, allocations: 447.6 kB / 353.9 MB, free: 6.316 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.3062, allocations: 102.1 kB / 354 MB, free: 6.199 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008526/0.3071, allocations: 490.4 kB / 354.5 MB, free: 5.691 MB / 286.1 MB Notification: Performance of pre-optimization done (n=98): time 2.856e-06/0.3071, allocations: 0 / 354.5 MB, free: 5.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=127): time 0.009147/0.3163, allocations: 4.01 MB / 358.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.3164, allocations: 149.5 kB / 358.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005626/0.317, allocations: 409.8 kB / 359.1 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.76e-05/0.3171, allocations: 45.7 kB / 359.1 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.3174, allocations: 447.4 kB / 359.6 MB, free: 496 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.3177, allocations: 429.8 kB / 360 MB, free: 60 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003458/0.3181, allocations: 210.8 kB / 360.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3183, allocations: 386.6 kB / 360.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.3189, allocations: 362.5 kB / 360.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008086/0.3198, allocations: 0.5915 MB / 361.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.3213, allocations: 0.998 MB / 362.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.3214, allocations: 4 kB / 362.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002604/0.324, allocations: 1.436 MB / 363.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.324, allocations: 8 kB / 363.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.324, allocations: 4 kB / 364 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008661/0.3249, allocations: 355.1 kB / 364.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008598/0.3258, allocations: 219.6 kB / 364.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007704/0.3335, allocations: 8.499 MB / 373 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.3346, allocations: 52.02 kB / 373.1 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.3347, allocations: 55.98 kB / 373.1 MB, free: 2.152 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.0006027/0.3353, allocations: 257.7 kB / 373.4 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.3355, allocations: 71.16 kB / 373.4 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.3382, allocations: 1.325 MB / 374.8 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.3382, allocations: 12 kB / 374.8 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.3382, allocations: 15.94 kB / 374.8 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.3382, allocations: 7.969 kB / 374.8 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/0.3423, allocations: 2.557 MB / 377.4 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.3423, allocations: 0 / 377.4 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006942/0.343, allocations: 160 kB / 377.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007959/0.3438, allocations: 333.6 kB / 377.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.486e-05/0.3439, allocations: 27.98 kB / 377.9 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007189/0.3511, allocations: 8.114 MB / 386 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3511, allocations: 7.938 kB / 386 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/0.3544, allocations: 1.835 MB / 387.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004175/0.3549, allocations: 232 kB / 388 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.355, allocations: 24 kB / 388.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/0.3555, allocations: 43.98 kB / 388.1 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/0.3558, allocations: 96.8 kB / 388.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.3e-05/0.3558, allocations: 43.92 kB / 388.3 MB, free: 2.258 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003461/0.3562, allocations: 279.2 kB / 388.5 MB, free: 1.988 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3562, allocations: 0 / 388.5 MB, free: 1.988 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001397/0.3576, allocations: 324 kB / 388.8 MB, free: 1.672 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.0003421/0.3579, allocations: 159 kB / 389 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003372/0.3613, allocations: 1.683 MB / 390.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3613, allocations: 0 / 390.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.3632, allocations: 1.155 MB / 391.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.3639, allocations: 69.55 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.004582/0.3685, allocations: 2.48 MB / 394.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007553/0.3693, allocations: 1.025 MB / 395.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005252/0.3698, allocations: 110.4 kB / 395.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.37, allocations: 59.42 kB / 395.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of SimCode: time 1.258e-05/0.37, allocations: 0 / 395.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of Templates: time 0.01944/0.3895, allocations: 11.1 MB / 406.7 MB, free: 15.64 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)