Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001523/0.001523, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001818/0.001818, allocations: 206.7 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.376/1.376, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2328, allocations: 50.56 MB / 409.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004735/0.2376, allocations: 3.513 MB / 413.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.2394, allocations: 0.9542 MB / 414.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003349/0.2398, allocations: 8 kB / 414.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.2401, allocations: 103.1 kB / 414.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005254/0.2406, allocations: 166.7 kB / 414.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.2411, allocations: 171.7 kB / 414.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006871/0.2418, allocations: 0.6387 MB / 415.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.2421, allocations: 197.4 kB / 415.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003283/0.2424, allocations: 235.1 kB / 415.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.2428, allocations: 278.6 kB / 416.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.61e-05/0.2429, allocations: 52 kB / 416.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.579e-05/0.243, allocations: 52 kB / 416.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.2431, allocations: 115.5 kB / 416.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.2434, allocations: 294.5 kB / 416.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005889/0.244, allocations: 0.6316 MB / 417.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.244, allocations: 0 / 417.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.244, allocations: 0 / 417.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.244, allocations: 0 / 417.3 MB, free: 10.3 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001616/0.2456, allocations: 0.8614 MB / 418.2 MB, free: 9.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2457, allocations: 12.03 kB / 418.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.2458, allocations: 60.19 kB / 418.2 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.2463, allocations: 355.7 kB / 418.6 MB, free: 8.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.2463, allocations: 41.69 kB / 418.6 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.426e-05/0.2464, allocations: 48.38 kB / 418.7 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008528/0.2473, allocations: 438.4 kB / 419.1 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.2473, allocations: 4 kB / 419.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/0.2473, allocations: 20 kB / 419.1 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.2474, allocations: 12 kB / 419.1 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2484, allocations: 389 kB / 419.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002582/0.251, allocations: 1.573 MB / 421.1 MB, free: 6.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007177/0.2518, allocations: 415.6 kB / 421.5 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/0.2522, allocations: 180.8 kB / 421.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.2522, allocations: 4.328 kB / 421.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.2523, allocations: 38.89 kB / 421.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.854e-06/0.2523, allocations: 0 / 421.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003315/0.2556, allocations: 1.196 MB / 422.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.2556, allocations: 59.97 kB / 423 MB, free: 4.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/0.2561, allocations: 417.4 kB / 423.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.2561, allocations: 33.7 kB / 423.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.2563, allocations: 299.9 kB / 423.7 MB, free: 3.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.2565, allocations: 189.3 kB / 423.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.2567, allocations: 118.1 kB / 424 MB, free: 3.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2568, allocations: 350.8 kB / 424.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004427/0.2573, allocations: 185.2 kB / 424.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.2578, allocations: 307 kB / 424.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009364/0.2588, allocations: 494.5 kB / 425.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2588, allocations: 3.938 kB / 425.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001466/0.2602, allocations: 0.7381 MB / 426.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.2603, allocations: 12.09 kB / 426.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2603, allocations: 8 kB / 426.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005076/0.2608, allocations: 185.2 kB / 426.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.2613, allocations: 107.9 kB / 426.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004155/0.2655, allocations: 4.273 MB / 430.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.2659, allocations: 35.91 kB / 430.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.2659, allocations: 24 kB / 430.7 MB, free: 12.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.2661, allocations: 177.8 kB / 430.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.2662, allocations: 51.33 kB / 430.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.2664, allocations: 65.06 kB / 431 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2664, allocations: 3.938 kB / 431 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2664, allocations: 0 / 431 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.233e-05/0.2665, allocations: 116.5 kB / 431.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.2666, allocations: 12 kB / 431.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.2669, allocations: 23.97 kB / 431.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.267, allocations: 56.41 kB / 431.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001707/0.2687, allocations: 0.7031 MB / 431.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001401/0.2701, allocations: 0.8336 MB / 432.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003819/0.2705, allocations: 184.3 kB / 432.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002908/0.2708, allocations: 283.2 kB / 433.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of Backend: time 4.4e-07/0.2708, allocations: 0 / 433.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.2723, allocations: 0.7248 MB / 433.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of SimCode: time 0.001588/0.2739, allocations: 1.457 MB / 435.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of Templates: time 0.0111/0.285, allocations: 5.731 MB / 441.1 MB, free: 1.691 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1)