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.00126/0.00126, allocations: 114.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001354, allocations: 204 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 55.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2018, allocations: 50.55 MB / 409.9 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.008642/0.2104, allocations: 7.883 MB / 417.8 MB, free: 9.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004463/0.2149, allocations: 3.165 MB / 421 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004039/0.2153, allocations: 31.88 kB / 421 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.2181, allocations: 1.337 MB / 422.4 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.2193, allocations: 0.6363 MB / 423 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.2218, allocations: 1.509 MB / 424.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.2233, allocations: 1.71 MB / 426.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.2249, allocations: 1.312 MB / 427.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006258/0.2255, allocations: 0.6655 MB / 428.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008244/0.2264, allocations: 0.809 MB / 429 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.2266, allocations: 168 kB / 429.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007722/0.2274, allocations: 491.6 kB / 429.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002818/0.2277, allocations: 382.7 kB / 430 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006481/0.2283, allocations: 0.8123 MB / 430.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.2305, allocations: 2.335 MB / 433.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2305, allocations: 0 / 433.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2305, allocations: 0 / 433.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.2305, allocations: 0 / 433.2 MB, free: 10.19 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.005108/0.2356, allocations: 2.239 MB / 435.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2357, allocations: 8.031 kB / 435.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/0.2397, allocations: 0.6126 MB / 436 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.2411, allocations: 0.8805 MB / 436.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.2413, allocations: 152.5 kB / 437.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.2415, allocations: 152 kB / 437.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/0.2439, allocations: 1.339 MB / 438.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/0.244, allocations: 4 kB / 438.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.2441, allocations: 60 kB / 438.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.2442, allocations: 36 kB / 438.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.2468, allocations: 1.28 MB / 439.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007413/0.2543, allocations: 4.938 MB / 444.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002902/0.2572, allocations: 1.938 MB / 446.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.2583, allocations: 0.5706 MB / 447.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.2585, allocations: 187.2 kB / 447.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.2598, allocations: 0.7333 MB / 448.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 2.816e-06/0.2598, allocations: 0 / 448.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=166): time 0.01466/0.2745, allocations: 5.66 MB / 453.9 MB, free: 4.699 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.669e-05/0.2746, allocations: 161.8 kB / 454.1 MB, free: 4.512 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000756/0.2754, allocations: 0.6528 MB / 454.8 MB, free: 3.848 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.159e-05/0.2755, allocations: 57.7 kB / 454.8 MB, free: 3.785 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/0.2759, allocations: 0.603 MB / 455.4 MB, free: 3.172 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003959/0.2763, allocations: 0.5732 MB / 456 MB, free: 2.594 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004212/0.2767, allocations: 279.5 kB / 456.3 MB, free: 2.312 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2768, allocations: 353.9 kB / 456.6 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.278, allocations: 0.5037 MB / 457.1 MB, free: 1.457 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.2793, allocations: 0.8364 MB / 457.9 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/0.2819, allocations: 1.432 MB / 459.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.2819, allocations: 4 kB / 459.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004501/0.2864, allocations: 2.028 MB / 461.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.2864, allocations: 11.94 kB / 461.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.2864, allocations: 8 kB / 461.4 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/0.2884, allocations: 0.5185 MB / 461.9 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.2896, allocations: 283.6 kB / 462.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.3, allocations: 9.522 MB / 471.7 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009099/0.3009, allocations: 83.97 kB / 471.8 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.301, allocations: 75.92 kB / 471.9 MB, free: 1.859 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.0005354/0.3016, allocations: 357.6 kB / 472.3 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.3018, allocations: 115.2 kB / 472.4 MB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004554/0.3063, allocations: 1.923 MB / 474.3 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.3064, allocations: 7.969 kB / 474.3 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3064, allocations: 0 / 474.3 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003897/0.3068, allocations: 304.4 kB / 474.6 MB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.3069, allocations: 32 kB / 474.6 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007148/0.3076, allocations: 63.95 kB / 474.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/0.3079, allocations: 145.7 kB / 474.8 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005152/0.3131, allocations: 2.051 MB / 476.9 MB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004036/0.3171, allocations: 2.335 MB / 479.2 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001181/0.3183, allocations: 0.5856 MB / 479.8 MB, free: 9.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005037/0.3188, allocations: 451 kB / 480.2 MB, free: 9.434 MB / 398.1 MB Notification: Performance of Backend: time 4.41e-07/0.3188, allocations: 0 / 480.2 MB, free: 9.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003432/0.3223, allocations: 1.882 MB / 482.1 MB, free: 7.496 MB / 398.1 MB Notification: Performance of SimCode: time 0.003596/0.3259, allocations: 3.266 MB / 485.4 MB, free: 4.172 MB / 398.1 MB Notification: Performance of Templates: time 0.03213/0.358, allocations: 21.54 MB / 0.495 GB, free: 14.65 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)