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.001034/0.001034, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001123/0.001124, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.0004582/0.0004584, allocations: 10.81 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2093, allocations: 47.58 MB / 326.5 MB, free: 1.625 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.007109/0.2164, allocations: 6.711 MB / 333.2 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004445/0.2209, allocations: 2.752 MB / 335.9 MB, free: 10.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004693/0.2214, allocations: 32.84 kB / 336 MB, free: 10.13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006547/0.222, allocations: 302.6 kB / 336.3 MB, free: 9.84 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.2235, allocations: 0.6606 MB / 336.9 MB, free: 9.176 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.2254, allocations: 0.9936 MB / 337.9 MB, free: 8.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.2269, allocations: 1.499 MB / 339.4 MB, free: 6.672 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.2291, allocations: 1.444 MB / 340.9 MB, free: 5.172 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005389/0.2296, allocations: 0.5095 MB / 341.4 MB, free: 4.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007213/0.2304, allocations: 0.6494 MB / 342 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.2305, allocations: 68 kB / 342.1 MB, free: 3.941 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007121/0.2312, allocations: 355.7 kB / 342.4 MB, free: 3.594 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.2314, allocations: 254.8 kB / 342.7 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.2317, allocations: 289 kB / 343 MB, free: 3.055 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.2331, allocations: 1.679 MB / 344.6 MB, free: 1.371 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2332, allocations: 0 / 344.6 MB, free: 1.371 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2332, allocations: 4 kB / 344.6 MB, free: 1.367 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.2332, allocations: 0 / 344.6 MB, free: 1.367 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: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.00449/0.2377, allocations: 1.884 MB / 346.5 MB, free: 15.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2377, allocations: 8.031 kB / 346.5 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003836/0.2416, allocations: 0.6382 MB / 347.2 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.243, allocations: 0.8206 MB / 348 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.2432, allocations: 148.5 kB / 348.1 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/0.2434, allocations: 156 kB / 348.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.246, allocations: 1.37 MB / 349.7 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/0.2461, allocations: 7.906 kB / 349.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.2462, allocations: 60 kB / 349.7 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.2463, allocations: 32 kB / 349.8 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.249, allocations: 1.374 MB / 351.1 MB, free: 10.74 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007883/0.2569, allocations: 5.012 MB / 356.1 MB, free: 5.484 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/0.2601, allocations: 2.454 MB / 358.6 MB, free: 2.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.2612, allocations: 0.5831 MB / 359.2 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.2614, allocations: 110.4 kB / 359.3 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00145/0.2628, allocations: 0.7375 MB / 360 MB, free: 1.293 MB / 286.1 MB Notification: Performance of pre-optimization done (n=134): time 3.276e-06/0.2629, allocations: 7.938 kB / 360 MB, free: 1.285 MB / 286.1 MB Notification: Performance of matching and sorting (n=168): time 0.01343/0.2763, allocations: 5.645 MB / 365.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/0.2764, allocations: 150.5 kB / 365.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000726/0.2772, allocations: 0.6135 MB / 366.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.043e-05/0.2773, allocations: 61.7 kB / 366.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/0.2778, allocations: 0.5817 MB / 367.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004772/0.2783, allocations: 0.5428 MB / 367.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.2784, allocations: 40 kB / 367.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.2786, allocations: 418.7 kB / 368.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.2797, allocations: 0.5193 MB / 368.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.2809, allocations: 0.8885 MB / 369.5 MB, free: 7.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.2822, allocations: 0.6337 MB / 370.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.2822, allocations: 8 kB / 370.1 MB, free: 6.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004321/0.2865, allocations: 2.082 MB / 372.2 MB, free: 4.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.2865, allocations: 8 kB / 372.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.2866, allocations: 8 kB / 372.2 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/0.2885, allocations: 0.5419 MB / 372.8 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.2897, allocations: 303.5 kB / 373.1 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009617/0.2993, allocations: 8.643 MB / 381.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000936/0.3003, allocations: 88.02 kB / 381.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.3004, allocations: 71.98 kB / 381.9 MB, free: 10.57 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,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean1.y,fundamentalWavePermabilitySensor.harmonicPotential.mean1.y,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean2.y,fundamentalWavePermabilitySensor.harmonicPotential.mean2.y,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean1.y,fundamentalWavePermabilitySensor.harmonicFlux.mean1.y,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean2.y,fundamentalWavePermabilitySensor.harmonicFlux.mean2.y,$PRE.rootMeanSquare.mean1.y,rootMeanSquare.mean1.y,$PRE.rootMeanSquare.mean2.y,rootMeanSquare.mean2.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 9,(1,100.0%) 19,(1,100.0%) 19} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006103/0.301, allocations: 365.6 kB / 382.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.3012, allocations: 118.7 kB / 382.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/0.3056, allocations: 1.934 MB / 384.3 MB, free: 8.129 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.3056, allocations: 20 kB / 384.3 MB, free: 8.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.3057, allocations: 11.95 kB / 384.3 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.3057, allocations: 7.969 kB / 384.3 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006497/0.3122, allocations: 3.575 MB / 387.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.3122, allocations: 11.98 kB / 387.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000987/0.3132, allocations: 215.7 kB / 388.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001901/0.3151, allocations: 0.499 MB / 388.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.3152, allocations: 43.97 kB / 388.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00904/0.3243, allocations: 8.339 MB / 397 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3243, allocations: 4.031 kB / 397 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005391/0.3297, allocations: 2.68 MB / 399.7 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/0.3302, allocations: 295.6 kB / 400 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.3303, allocations: 43.98 kB / 400 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/0.3311, allocations: 71.95 kB / 400.1 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/0.3313, allocations: 140.9 kB / 400.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.942e-05/0.3314, allocations: 43.98 kB / 400.3 MB, free: 7.449 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005116/0.332, allocations: 423 kB / 400.7 MB, free: 7.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.332, allocations: 0 / 400.7 MB, free: 7.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001513/0.3335, allocations: 424 kB / 401.1 MB, free: 6.617 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 19,(1,100.0%) 9,(2,100.0%) 16} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000303/0.3338, allocations: 192.3 kB / 401.3 MB, free: 6.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003683/0.3375, allocations: 2.127 MB / 403.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3375, allocations: 0 / 403.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002164/0.3397, allocations: 1.433 MB / 404.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.3404, allocations: 131.3 kB / 405 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/0.3454, allocations: 3.349 MB / 408.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007901/0.3462, allocations: 1.193 MB / 409.5 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007805/0.347, allocations: 173.3 kB / 409.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.3473, allocations: 83.41 kB / 409.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3473, allocations: 3.938 kB / 409.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of Templates: time 0.02716/0.3744, allocations: 15.96 MB / 425.7 MB, free: 13.75 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)