Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, allocations: 110.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001749/0.001749, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2051, allocations: 50.54 MB / 409.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.008757/0.2139, allocations: 7.883 MB / 417.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005087/0.219, allocations: 3.165 MB / 421 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007773/0.2198, allocations: 31.88 kB / 421 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002981/0.2228, allocations: 1.337 MB / 422.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.2244, allocations: 0.6285 MB / 423 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.2271, allocations: 1.511 MB / 424.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.2285, allocations: 1.706 MB / 426.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.2301, allocations: 1.322 MB / 427.5 MB, free: 48 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006206/0.2307, allocations: 0.6616 MB / 428.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008068/0.2316, allocations: 0.8051 MB / 429 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.2318, allocations: 168 kB / 429.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000752/0.2325, allocations: 495.6 kB / 429.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.2328, allocations: 382.7 kB / 430 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006453/0.2335, allocations: 0.8084 MB / 430.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.2355, allocations: 2.325 MB / 433.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2355, allocations: 4 kB / 433.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2355, allocations: 0 / 433.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.2355, allocations: 0 / 433.1 MB, free: 10.4 MB / 350.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.005104/0.2406, allocations: 2.191 MB / 435.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2407, allocations: 8.031 kB / 435.3 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003952/0.2446, allocations: 0.6 MB / 435.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.2461, allocations: 0.8761 MB / 436.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.2463, allocations: 156.5 kB / 437 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.2465, allocations: 148 kB / 437.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/0.2489, allocations: 1.335 MB / 438.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/0.2489, allocations: 7.906 kB / 438.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.2491, allocations: 64 kB / 438.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.2491, allocations: 36 kB / 438.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002624/0.2517, allocations: 1.28 MB / 439.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007369/0.2591, allocations: 4.917 MB / 444.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/0.262, allocations: 1.938 MB / 446.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.2632, allocations: 0.5766 MB / 447.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.2633, allocations: 191.2 kB / 447.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001319/0.2647, allocations: 0.7332 MB / 448.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 2.966e-06/0.2647, allocations: 0 / 448.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=166): time 0.01464/0.2793, allocations: 5.625 MB / 453.8 MB, free: 5.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.2794, allocations: 161.8 kB / 454 MB, free: 4.828 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007471/0.2802, allocations: 0.6489 MB / 454.6 MB, free: 4.168 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-05/0.2803, allocations: 57.7 kB / 454.7 MB, free: 4.105 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/0.2807, allocations: 0.5897 MB / 455.3 MB, free: 3.504 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/0.2811, allocations: 0.5428 MB / 455.8 MB, free: 2.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004153/0.2815, allocations: 279.5 kB / 456.1 MB, free: 2.672 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2816, allocations: 353.9 kB / 456.4 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.2827, allocations: 0.5115 MB / 456.9 MB, free: 1.809 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.2841, allocations: 0.8326 MB / 457.8 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002469/0.2866, allocations: 1.425 MB / 459.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2866, allocations: 4 kB / 459.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.00443/0.291, allocations: 2.031 MB / 461.2 MB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.291, allocations: 18.89 kB / 461.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.2911, allocations: 12 kB / 461.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/0.293, allocations: 0.5184 MB / 461.8 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.2942, allocations: 287.6 kB / 462.1 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.3043, allocations: 9.505 MB / 471.6 MB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008625/0.3052, allocations: 79.86 kB / 471.6 MB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.3053, allocations: 71.92 kB / 471.7 MB, free: 2.234 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.0005039/0.3059, allocations: 366 kB / 472.1 MB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.306, allocations: 110.6 kB / 472.2 MB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/0.3105, allocations: 1.915 MB / 474.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.3105, allocations: 7.969 kB / 474.1 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.3105, allocations: 4 kB / 474.1 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004179/0.311, allocations: 299.5 kB / 474.4 MB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.3111, allocations: 32 kB / 474.4 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007115/0.3118, allocations: 59.95 kB / 474.5 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.3121, allocations: 145.8 kB / 474.6 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005028/0.3171, allocations: 2.047 MB / 476.7 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003975/0.3211, allocations: 2.334 MB / 479 MB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0011/0.3222, allocations: 0.5856 MB / 479.6 MB, free: 10.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005033/0.3227, allocations: 447 kB / 480 MB, free: 9.824 MB / 398.1 MB Notification: Performance of Backend: time 5.71e-07/0.3227, allocations: 0 / 480 MB, free: 9.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003649/0.3264, allocations: 1.866 MB / 481.9 MB, free: 7.895 MB / 398.1 MB Notification: Performance of SimCode: time 0.003575/0.33, allocations: 3.205 MB / 485.1 MB, free: 4.633 MB / 398.1 MB Notification: Performance of Templates: time 0.03171/0.3617, allocations: 21.54 MB / 0.4948 GB, free: 15.11 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe 2>&1)