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.001175/0.001175, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2413, allocations: 50.55 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00475/0.2461, allocations: 3.508 MB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.2479, allocations: 0.9619 MB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003348/0.2483, allocations: 11.94 kB / 414.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.2487, allocations: 95.14 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005022/0.2492, allocations: 166.7 kB / 414.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.2496, allocations: 163.7 kB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006867/0.2503, allocations: 0.6426 MB / 415.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.2506, allocations: 197.5 kB / 415.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.251, allocations: 243 kB / 415.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.2513, allocations: 270.7 kB / 416.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.393e-05/0.2514, allocations: 52 kB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.782e-05/0.2515, allocations: 52 kB / 416.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.903e-05/0.2517, allocations: 127.5 kB / 416.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.2519, allocations: 290.4 kB / 416.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005992/0.2525, allocations: 0.6315 MB / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2525, allocations: 3.938 kB / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.2525, allocations: 4 kB / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.2526, allocations: 0 / 417.3 MB, free: 10.18 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.001535/0.2541, allocations: 0.8497 MB / 418.2 MB, free: 9.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2542, allocations: 16.03 kB / 418.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.2543, allocations: 60.19 kB / 418.2 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.2548, allocations: 359.6 kB / 418.6 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.2548, allocations: 41.69 kB / 418.6 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.486e-05/0.2549, allocations: 48.38 kB / 418.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008543/0.2558, allocations: 442.4 kB / 419.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.2558, allocations: 0 / 419.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.2558, allocations: 24 kB / 419.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.2559, allocations: 12 kB / 419.2 MB, free: 8.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008611/0.2567, allocations: 385 kB / 419.5 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.2592, allocations: 1.569 MB / 421.1 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/0.26, allocations: 417.3 kB / 421.5 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.2604, allocations: 177.4 kB / 421.7 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.2604, allocations: 8.312 kB / 421.7 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.2605, allocations: 38.83 kB / 421.7 MB, free: 5.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.763e-06/0.2605, allocations: 0 / 421.7 MB, free: 5.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003256/0.2637, allocations: 1.196 MB / 422.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2638, allocations: 63.91 kB / 423 MB, free: 4.242 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/0.2642, allocations: 409.4 kB / 423.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.2643, allocations: 37.7 kB / 423.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.2645, allocations: 299.9 kB / 423.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.2646, allocations: 189.3 kB / 423.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.2648, allocations: 114.2 kB / 424 MB, free: 3.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2649, allocations: 354.8 kB / 424.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/0.2654, allocations: 181.2 kB / 424.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.2659, allocations: 307.1 kB / 424.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009048/0.2668, allocations: 490.5 kB / 425.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.2668, allocations: 8 kB / 425.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001442/0.2683, allocations: 0.7381 MB / 426.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.2683, allocations: 11.94 kB / 426.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.2683, allocations: 4 kB / 426.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000555/0.2689, allocations: 177.6 kB / 426.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.2694, allocations: 115.8 kB / 426.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004007/0.2734, allocations: 4.277 MB / 430.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.2738, allocations: 27.98 kB / 430.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.2739, allocations: 27.98 kB / 430.7 MB, free: 12.11 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.0002062/0.2741, allocations: 177.7 kB / 430.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.2742, allocations: 55.33 kB / 430.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.2743, allocations: 57.14 kB / 431 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2743, allocations: 11.92 kB / 431 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2743, allocations: 0 / 431 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.2744, allocations: 116.5 kB / 431.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.2745, allocations: 12 kB / 431.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.2748, allocations: 23.97 kB / 431.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.2749, allocations: 48.48 kB / 431.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001764/0.2767, allocations: 0.707 MB / 431.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001345/0.2781, allocations: 0.8374 MB / 432.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003776/0.2785, allocations: 172.4 kB / 432.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002798/0.2787, allocations: 291.1 kB / 433.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of Backend: time 5.81e-07/0.2788, allocations: 0 / 433.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.2802, allocations: 0.7259 MB / 433.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of SimCode: time 0.001576/0.2818, allocations: 1.456 MB / 435.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of Templates: time 0.01133/0.2931, allocations: 5.742 MB / 441.1 MB, free: 1.574 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)