Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="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_3.2.3_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_3.2.3_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.001247/0.001247, allocations: 103.2 kB / 18.4 MB, free: 4.68 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.001272/0.001272, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.214/1.214, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.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.001185/0.001185, allocations: 51.92 kB / 329.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06663/0.06782, allocations: 46.62 MB / 375.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.1414/0.2093, allocations: 7.757 MB / 383.6 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003989/0.2133, allocations: 3.031 MB / 386.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000413/0.2137, allocations: 29.38 kB / 386.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002485/0.2162, allocations: 1.33 MB / 388 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.2176, allocations: 0.8015 MB / 388.8 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.2196, allocations: 1.296 MB / 390.1 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.2208, allocations: 1.674 MB / 391.8 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.2222, allocations: 1.294 MB / 393 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005427/0.2228, allocations: 0.6675 MB / 393.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007277/0.2235, allocations: 0.7919 MB / 394.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002049/0.2237, allocations: 164.8 kB / 394.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007391/0.2245, allocations: 474.3 kB / 395.1 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.2247, allocations: 380.3 kB / 395.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005163/0.2252, allocations: 0.7861 MB / 396.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.2272, allocations: 2.255 MB / 398.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2272, allocations: 0 / 398.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2272, allocations: 1.375 kB / 398.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.2272, allocations: 4 kB / 398.5 MB, free: 1.574 MB / 318.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.00484/0.2321, allocations: 2.144 MB / 400.7 MB, free: 372 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2321, allocations: 14.19 kB / 400.7 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003981/0.2361, allocations: 0.6253 MB / 401.3 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.2375, allocations: 0.8364 MB / 402.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.2376, allocations: 146 kB / 402.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.2379, allocations: 162.7 kB / 402.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.2405, allocations: 1.362 MB / 403.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.376e-05/0.2405, allocations: 2.75 kB / 403.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.2407, allocations: 56.19 kB / 403.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.2407, allocations: 35.25 kB / 403.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/0.2435, allocations: 1.345 MB / 405.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00755/0.2511, allocations: 4.943 MB / 410.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.2544, allocations: 2.451 MB / 412.7 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.2555, allocations: 0.5793 MB / 413.2 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.2557, allocations: 107.5 kB / 413.3 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/0.2571, allocations: 0.7395 MB / 414.1 MB, free: 7.312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=134): time 3.096e-06/0.2571, allocations: 0 / 414.1 MB, free: 7.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=168): time 0.0139/0.271, allocations: 5.556 MB / 419.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.2711, allocations: 154.5 kB / 419.8 MB, free: 3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000702/0.2718, allocations: 0.6174 MB / 420.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.85e-05/0.2719, allocations: 61.7 kB / 420.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.2723, allocations: 0.5778 MB / 421 MB, free: 1.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/0.2727, allocations: 0.5545 MB / 421.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004286/0.2731, allocations: 287.4 kB / 421.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2733, allocations: 357.9 kB / 422.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.2744, allocations: 0.5076 MB / 422.7 MB, free: 8 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.2758, allocations: 0.8768 MB / 423.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/0.2783, allocations: 1.48 MB / 425.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.2784, allocations: 3.938 kB / 425.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004424/0.2828, allocations: 2.066 MB / 427.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.2828, allocations: 8 kB / 427.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.2828, allocations: 12 kB / 427.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001874/0.2847, allocations: 0.5223 MB / 427.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.2859, allocations: 299.5 kB / 428 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.2962, allocations: 9.527 MB / 437.5 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008969/0.2971, allocations: 84.02 kB / 437.6 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.2972, allocations: 63.98 kB / 437.7 MB, free: 224 kB / 350.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.0005107/0.2977, allocations: 361.6 kB / 438 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.2979, allocations: 110.7 kB / 438.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004494/0.3024, allocations: 1.918 MB / 440.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.3025, allocations: 11.97 kB / 440.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3025, allocations: 0 / 440.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/0.3029, allocations: 291.6 kB / 440.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.303, allocations: 32 kB / 440.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006992/0.3037, allocations: 63.95 kB / 440.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/0.304, allocations: 141.8 kB / 440.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005152/0.3092, allocations: 2.063 MB / 442.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004126/0.3133, allocations: 2.346 MB / 445 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001137/0.3145, allocations: 0.5895 MB / 445.6 MB, free: 8.223 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004807/0.315, allocations: 427.1 kB / 446 MB, free: 7.805 MB / 366.1 MB Notification: Performance of Backend: time 1.393e-06/0.315, allocations: 4 kB / 446 MB, free: 7.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003419/0.3184, allocations: 1.875 MB / 447.9 MB, free: 5.871 MB / 366.1 MB Notification: Performance of SimCode: time 0.003643/0.322, allocations: 3.163 MB / 451 MB, free: 2.648 MB / 366.1 MB Notification: Performance of Templates: time 0.03393/0.356, allocations: 21.91 MB / 472.9 MB, free: 12.7 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe 2>&1)