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.001015/0.001015, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007759/0.007759, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.466/1.466, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0006833/0.0006835, allocations: 14.81 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2859, allocations: 47.58 MB / 327 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.007567/0.2936, allocations: 7.179 MB / 334.2 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005649/0.2992, allocations: 2.903 MB / 337.1 MB, free: 9.273 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009951/0.3003, allocations: 31.88 kB / 337.1 MB, free: 9.242 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.3013, allocations: 386.1 kB / 337.5 MB, free: 8.863 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.3036, allocations: 0.6995 MB / 338.2 MB, free: 8.16 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.306, allocations: 1.227 MB / 339.4 MB, free: 6.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001975/0.308, allocations: 1.562 MB / 341 MB, free: 5.359 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/0.3106, allocations: 1.61 MB / 342.6 MB, free: 3.688 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007635/0.3114, allocations: 0.521 MB / 343.1 MB, free: 3.164 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008297/0.3122, allocations: 0.6686 MB / 343.8 MB, free: 2.492 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.3124, allocations: 68 kB / 343.9 MB, free: 2.426 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009063/0.3133, allocations: 367.6 kB / 344.2 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.3135, allocations: 266.7 kB / 344.5 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006215/0.3141, allocations: 0.6931 MB / 345.2 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.3162, allocations: 2.106 MB / 347.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3162, allocations: 0 / 347.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3162, allocations: 0 / 347.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.3163, allocations: 0 / 347.3 MB, free: 14.99 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.004969/0.3212, allocations: 1.872 MB / 349.2 MB, free: 13.06 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3213, allocations: 8.031 kB / 349.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003955/0.3253, allocations: 0.6429 MB / 349.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.3269, allocations: 0.8371 MB / 350.7 MB, free: 11.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.3271, allocations: 144.6 kB / 350.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003512/0.3275, allocations: 155.9 kB / 350.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/0.3304, allocations: 1.378 MB / 352.3 MB, free: 9.828 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.751e-05/0.3305, allocations: 11.98 kB / 352.3 MB, free: 9.816 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.3306, allocations: 63.94 kB / 352.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.3307, allocations: 36 kB / 352.4 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/0.3335, allocations: 1.378 MB / 353.8 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009431/0.343, allocations: 5.02 MB / 358.8 MB, free: 3.074 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.3463, allocations: 2.452 MB / 361.3 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.3475, allocations: 0.5826 MB / 361.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.3476, allocations: 114.4 kB / 362 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001475/0.3491, allocations: 0.7491 MB / 362.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=134): time 4.729e-06/0.3491, allocations: 0 / 362.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=168): time 0.0151/0.3643, allocations: 5.677 MB / 368.4 MB, free: 9.074 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.3645, allocations: 158.5 kB / 368.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008017/0.3653, allocations: 0.6135 MB / 369.2 MB, free: 8.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.3654, allocations: 61.7 kB / 369.2 MB, free: 8.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/0.3658, allocations: 0.5817 MB / 369.8 MB, free: 7.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004507/0.3663, allocations: 0.5467 MB / 370.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.3665, allocations: 145.6 kB / 370.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3666, allocations: 345.9 kB / 370.8 MB, free: 6.562 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.3678, allocations: 0.5271 MB / 371.4 MB, free: 6.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.3692, allocations: 0.8924 MB / 372.3 MB, free: 5.008 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002623/0.3718, allocations: 1.507 MB / 373.8 MB, free: 3.367 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.3719, allocations: 8 kB / 373.8 MB, free: 3.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004695/0.3766, allocations: 2.098 MB / 375.9 MB, free: 1.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.3766, allocations: 8 kB / 375.9 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.3766, allocations: 11.98 kB / 375.9 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00221/0.3788, allocations: 0.5302 MB / 376.4 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.3801, allocations: 307.5 kB / 376.7 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00992/0.39, allocations: 8.683 MB / 385.4 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.3913, allocations: 92.02 kB / 385.5 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.3914, allocations: 68.22 kB / 385.6 MB, free: 6.992 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.0006886/0.3921, allocations: 357.4 kB / 385.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.3923, allocations: 114.7 kB / 386 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004655/0.397, allocations: 1.946 MB / 388 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.397, allocations: 16 kB / 388 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.397, allocations: 8 kB / 388 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.397, allocations: 11.97 kB / 388 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007153/0.4042, allocations: 3.602 MB / 391.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.4042, allocations: 0 / 391.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.4053, allocations: 219.7 kB / 391.8 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/0.4073, allocations: 0.4992 MB / 392.3 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.926e-05/0.4074, allocations: 43.97 kB / 392.4 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009344/0.4168, allocations: 8.358 MB / 400.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4168, allocations: 0 / 400.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005784/0.4226, allocations: 2.7 MB / 403.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005296/0.4231, allocations: 295.6 kB / 403.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.4233, allocations: 39.94 kB / 403.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007841/0.4241, allocations: 71.95 kB / 403.8 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003188/0.4244, allocations: 129.1 kB / 403.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-05/0.4245, allocations: 55.97 kB / 404 MB, free: 3.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005339/0.4251, allocations: 423.1 kB / 404.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.352e-06/0.4251, allocations: 4 kB / 404.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001566/0.4266, allocations: 419.9 kB / 404.8 MB, free: 2.984 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.0003689/0.427, allocations: 212.3 kB / 405 MB, free: 2.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003955/0.431, allocations: 2.143 MB / 407.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.431, allocations: 4 kB / 407.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002534/0.4336, allocations: 1.43 MB / 408.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.4346, allocations: 134.8 kB / 408.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.44, allocations: 3.501 MB / 412.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/0.4408, allocations: 1.194 MB / 413.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007826/0.4416, allocations: 169.1 kB / 413.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.4418, allocations: 87.34 kB / 413.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4418, allocations: 0 / 413.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of Templates: time 0.02934/0.4712, allocations: 16.39 MB / 430.1 MB, free: 9.516 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)