Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.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.NonLinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, 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.001604/0.001604, allocations: 197.4 kB / 16.14 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.396/1.396, allocations: 205.1 MB / 222 MB, free: 4.738 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.001254/0.001254, allocations: 47.94 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2716, allocations: 46.62 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.009747/0.2814, allocations: 7.702 MB / 332.4 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006883/0.2883, allocations: 2.995 MB / 335.4 MB, free: 9.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.2895, allocations: 27.94 kB / 335.4 MB, free: 9.402 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.2924, allocations: 1.226 MB / 336.6 MB, free: 8.172 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.2945, allocations: 0.7229 MB / 337.3 MB, free: 7.445 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.2969, allocations: 1.227 MB / 338.6 MB, free: 6.215 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001914/0.2988, allocations: 1.574 MB / 340.2 MB, free: 4.633 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.3006, allocations: 1.092 MB / 341.2 MB, free: 3.512 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007275/0.3014, allocations: 0.5835 MB / 341.8 MB, free: 2.926 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007628/0.3021, allocations: 0.7621 MB / 342.6 MB, free: 2.16 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.3023, allocations: 96 kB / 342.7 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.3034, allocations: 399.7 kB / 343.1 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.3036, allocations: 310.7 kB / 343.4 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006913/0.3043, allocations: 0.7188 MB / 344.1 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00222/0.3066, allocations: 2.169 MB / 346.3 MB, free: 14.47 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.3066, allocations: 4 kB / 346.3 MB, free: 14.47 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3066, allocations: 0 / 346.3 MB, free: 14.47 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.3066, allocations: 0 / 346.3 MB, free: 14.47 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.005652/0.3123, allocations: 2.149 MB / 348.4 MB, free: 12.26 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3123, allocations: 8.031 kB / 348.4 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003999/0.3163, allocations: 0.6275 MB / 349.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.3178, allocations: 0.8213 MB / 349.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.318, allocations: 148.6 kB / 350 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.3182, allocations: 151.9 kB / 350.2 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/0.3209, allocations: 1.366 MB / 351.5 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/0.321, allocations: 7.891 kB / 351.5 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.3211, allocations: 60 kB / 351.6 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/0.3212, allocations: 36 kB / 351.6 MB, free: 8.973 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002745/0.3239, allocations: 1.351 MB / 353 MB, free: 7.617 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008253/0.3322, allocations: 4.988 MB / 358 MB, free: 2.391 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/0.3356, allocations: 2.449 MB / 360.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.3367, allocations: 0.5709 MB / 361 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.3369, allocations: 106.4 kB / 361.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001426/0.3383, allocations: 0.7375 MB / 361.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=134): time 3.386e-06/0.3384, allocations: 0 / 361.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=168): time 0.01505/0.3534, allocations: 5.548 MB / 367.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.974e-05/0.3535, allocations: 150.5 kB / 367.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007774/0.3543, allocations: 0.6213 MB / 368.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-05/0.3544, allocations: 69.69 kB / 368.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/0.3549, allocations: 0.5739 MB / 368.8 MB, free: 7.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004232/0.3553, allocations: 0.5506 MB / 369.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004526/0.3558, allocations: 295.4 kB / 369.6 MB, free: 6.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3559, allocations: 345.9 kB / 370 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.3571, allocations: 0.5115 MB / 370.5 MB, free: 5.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.3585, allocations: 0.8807 MB / 371.4 MB, free: 4.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00249/0.361, allocations: 1.48 MB / 372.8 MB, free: 2.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.361, allocations: 7.938 kB / 372.8 MB, free: 2.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004394/0.3654, allocations: 2.066 MB / 374.9 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.3655, allocations: 8 kB / 374.9 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.3655, allocations: 8 kB / 374.9 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001949/0.3674, allocations: 0.5223 MB / 375.5 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.3687, allocations: 307.5 kB / 375.8 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009769/0.3784, allocations: 8.633 MB / 384.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.3796, allocations: 83.86 kB / 384.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.3797, allocations: 72.05 kB / 384.5 MB, free: 6.473 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWavePermabilitySensor.harmonicFlux.mean2.y,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean2.y,fundamentalWavePermabilitySensor.harmonicFlux.mean1.y,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean1.y,fundamentalWavePermabilitySensor.harmonicPotential.mean2.y,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean2.y,fundamentalWavePermabilitySensor.harmonicPotential.mean1.y,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean1.y,rootMeanSquare.mean2.y,$PRE.rootMeanSquare.mean2.y,rootMeanSquare.mean1.y,$PRE.rootMeanSquare.mean1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 165 * 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): 3 systems {(1,9,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0007016/0.3804, allocations: 353.7 kB / 384.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.3806, allocations: 110.7 kB / 385 MB, free: 6.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004442/0.3851, allocations: 1.922 MB / 386.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.3851, allocations: 16 kB / 386.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.3851, allocations: 8 kB / 386.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.3851, allocations: 7.969 kB / 386.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00649/0.3916, allocations: 3.555 MB / 390.5 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.3916, allocations: 0 / 390.5 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009907/0.3926, allocations: 219.8 kB / 390.7 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001866/0.3945, allocations: 0.4952 MB / 391.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.585e-05/0.3946, allocations: 43.98 kB / 391.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008553/0.4032, allocations: 8.312 MB / 399.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4032, allocations: 12.03 kB / 399.6 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005377/0.4086, allocations: 2.649 MB / 402.2 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/0.409, allocations: 291.7 kB / 402.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.4092, allocations: 47.88 kB / 402.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007412/0.4099, allocations: 59.95 kB / 402.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/0.4102, allocations: 133.1 kB / 402.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/0.4103, allocations: 55.97 kB / 402.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004917/0.4108, allocations: 427.1 kB / 403.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4108, allocations: 0 / 403.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001559/0.4124, allocations: 420 kB / 403.6 MB, free: 2.645 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (coil.i,fundamentalWavePermabilitySensor.harmonicPotential.mean1.x,fundamentalWavePermabilitySensor.harmonicPotential.mean2.x,fundamentalWavePermabilitySensor.harmonicFlux.mean1.x,fundamentalWavePermabilitySensor.harmonicFlux.mean2.x,rootMeanSquare.mean1.x,rootMeanSquare.mean2.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWavePermabilitySensor.harmonicPotential.mean1.y,fundamentalWavePermabilitySensor.harmonicPotential.mean2.y,fundamentalWavePermabilitySensor.harmonicFlux.mean1.y,fundamentalWavePermabilitySensor.harmonicFlux.mean2.y,rootMeanSquare.mean1.y,rootMeanSquare.mean2.y) * Number of discrete states: 6 (fundamentalWavePermabilitySensor.harmonicPotential.mean1.x,fundamentalWavePermabilitySensor.harmonicPotential.mean2.x,fundamentalWavePermabilitySensor.harmonicFlux.mean1.x,fundamentalWavePermabilitySensor.harmonicFlux.mean2.x,rootMeanSquare.mean1.x,rootMeanSquare.mean2.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 3 systems {(1,19,100.0%), (1,9,100.0%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003287/0.4127, allocations: 208.3 kB / 403.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003695/0.4164, allocations: 2.107 MB / 405.9 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4164, allocations: 1.812 kB / 405.9 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.4186, allocations: 1.425 MB / 407.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000743/0.4194, allocations: 119 kB / 407.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005272/0.4246, allocations: 3.422 MB / 410.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007821/0.4254, allocations: 1.193 MB / 412.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007494/0.4262, allocations: 173.1 kB / 412.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.4264, allocations: 87.41 kB / 412.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4265, allocations: 0 / 412.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of Templates: time 0.02624/0.4527, allocations: 16.48 MB / 428.8 MB, free: 9.23 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe 2>&1)