Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|fundamentalWavePermabilitySensor.harmonicFlux.mean1.x|fundamentalWavePermabilitySensor.harmonicFlux.mean2.x|fundamentalWavePermabilitySensor.harmonicPotential.mean1.x|fundamentalWavePermabilitySensor.harmonicPotential.mean2.x|r_mLeak.port_p.Phi|rootMeanSquare.mean1.x|rootMeanSquare.mean2.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|fundamentalWavePermabilitySensor.harmonicFlux.mean1.x|fundamentalWavePermabilitySensor.harmonicFlux.mean2.x|fundamentalWavePermabilitySensor.harmonicPotential.mean1.x|fundamentalWavePermabilitySensor.harmonicPotential.mean2.x|r_mLeak.port_p.Phi|rootMeanSquare.mean1.x|rootMeanSquare.mean2.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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.001312/0.001312, allocations: 111 kB / 17.75 MB, free: 5.219 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.00129/0.00129, allocations: 185.4 kB / 18.68 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 43.94 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2182, allocations: 49.43 MB / 401.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.00861/0.2269, allocations: 7.798 MB / 409.2 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004027/0.2309, allocations: 2.99 MB / 412.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003856/0.2313, allocations: 27.94 kB / 412.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.2341, allocations: 1.339 MB / 413.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.2355, allocations: 0.7802 MB / 414.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.2376, allocations: 1.309 MB / 415.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.2391, allocations: 1.671 MB / 417.3 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.2406, allocations: 1.285 MB / 418.6 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000617/0.2413, allocations: 0.6655 MB / 419.3 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008201/0.2421, allocations: 0.7857 MB / 420.1 MB, free: 6.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.2423, allocations: 164 kB / 420.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007076/0.243, allocations: 475.7 kB / 420.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002767/0.2433, allocations: 370.7 kB / 421.1 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006397/0.244, allocations: 0.789 MB / 421.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.246, allocations: 2.273 MB / 424.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.246, allocations: 0 / 424.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2461, allocations: 0 / 424.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.2461, allocations: 0 / 424.1 MB, free: 2.227 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 371 * Number of variables: 371 Notification: Performance of Generate backend data structure: time 0.005049/0.2511, allocations: 2.178 MB / 426.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2512, allocations: 8.031 kB / 426.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003333/0.2545, allocations: 0.5385 MB / 426.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.2558, allocations: 0.8337 MB / 427.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.256, allocations: 152.5 kB / 427.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/0.2562, allocations: 148 kB / 428 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.2587, allocations: 1.339 MB / 429.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/0.2587, allocations: 11.95 kB / 429.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.2589, allocations: 56 kB / 429.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.2589, allocations: 36 kB / 429.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.2616, allocations: 1.284 MB / 430.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00736/0.2689, allocations: 4.812 MB / 435.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/0.2719, allocations: 1.939 MB / 437.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.273, allocations: 0.5665 MB / 438 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.2732, allocations: 110.1 kB / 438.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.2745, allocations: 0.7332 MB / 438.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 2.806e-06/0.2745, allocations: 0 / 438.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=166): time 0.01452/0.289, allocations: 5.641 MB / 444.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/0.2891, allocations: 157.8 kB / 444.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006732/0.2898, allocations: 0.594 MB / 445.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.101e-05/0.2899, allocations: 61.69 kB / 445.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.2903, allocations: 0.5796 MB / 445.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003913/0.2907, allocations: 0.5732 MB / 446.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004139/0.2911, allocations: 279.5 kB / 446.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2912, allocations: 345.9 kB / 447.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.2923, allocations: 0.5075 MB / 447.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.2937, allocations: 0.8404 MB / 448.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/0.2962, allocations: 1.417 MB / 449.8 MB, free: 7.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.2962, allocations: 0 / 449.8 MB, free: 7.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004402/0.3006, allocations: 2.028 MB / 451.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3006, allocations: 15.94 kB / 451.9 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.3006, allocations: 8 kB / 451.9 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/0.3026, allocations: 0.5184 MB / 452.4 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.3039, allocations: 295.5 kB / 452.7 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.3141, allocations: 9.518 MB / 462.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/0.315, allocations: 71.97 kB / 462.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.3151, allocations: 71.86 kB / 462.3 MB, free: 10.44 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWavePermabilitySensor.harmonicFlux.mean2.y_last,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean2.y_last,fundamentalWavePermabilitySensor.harmonicFlux.mean1.y_last,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean1.y_last,fundamentalWavePermabilitySensor.harmonicPotential.mean2.y_last,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean2.y_last,fundamentalWavePermabilitySensor.harmonicPotential.mean1.y_last,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean1.y_last,rootMeanSquare.mean2.y_last,$PRE.rootMeanSquare.mean2.y_last,rootMeanSquare.mean1.y_last,$PRE.rootMeanSquare.mean1.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 157 * 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.0005006/0.3156, allocations: 349.6 kB / 462.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.3158, allocations: 111.3 kB / 462.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/0.3203, allocations: 1.914 MB / 464.7 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.3203, allocations: 7.969 kB / 464.7 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.3204, allocations: 8 kB / 464.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003959/0.3208, allocations: 304.2 kB / 465 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.3209, allocations: 32 kB / 465.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007235/0.3216, allocations: 59.95 kB / 465.1 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.3219, allocations: 141.8 kB / 465.2 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00506/0.327, allocations: 2.051 MB / 467.3 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004023/0.331, allocations: 2.334 MB / 469.6 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001132/0.3322, allocations: 0.5895 MB / 470.2 MB, free: 2.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004623/0.3326, allocations: 419.1 kB / 470.6 MB, free: 2.066 MB / 382.1 MB Notification: Performance of Backend: time 3.51e-07/0.3326, allocations: 0 / 470.6 MB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003316/0.336, allocations: 1.861 MB / 472.5 MB, free: 148 kB / 382.1 MB Notification: Performance of SimCode: time 0.003668/0.3396, allocations: 3.208 MB / 475.7 MB, free: 12.88 MB / 398.1 MB Notification: Performance of Templates: time 0.03131/0.371, allocations: 21.24 MB / 496.9 MB, free: 7.652 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe 2>&1)