Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001543/0.001543, allocations: 114.3 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.001941/0.001941, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2293, allocations: 50.54 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003678/0.233, allocations: 2.839 MB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.2342, allocations: 0.7945 MB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.2343, allocations: 8 kB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.2345, allocations: 67.38 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.2348, allocations: 99.16 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.235, allocations: 115.8 kB / 413.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.2354, allocations: 402.5 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.2356, allocations: 122.9 kB / 414.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.2359, allocations: 167.4 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.2361, allocations: 175.2 kB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.2362, allocations: 32 kB / 414.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.593e-05/0.2362, allocations: 36 kB / 414.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.2363, allocations: 79.64 kB / 414.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.2364, allocations: 179.1 kB / 415 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.2368, allocations: 407.6 kB / 415.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2368, allocations: 3.938 kB / 415.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2368, allocations: 0 / 415.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.2368, allocations: 0 / 415.4 MB, free: 12.09 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001154/0.238, allocations: 0.6509 MB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.238, allocations: 8.031 kB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.954e-05/0.2381, allocations: 40.47 kB / 416.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.2385, allocations: 279.4 kB / 416.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.2385, allocations: 25.03 kB / 416.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.2386, allocations: 32.38 kB / 416.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005566/0.2391, allocations: 302.3 kB / 416.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2392, allocations: 0 / 416.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.2392, allocations: 12 kB / 416.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2392, allocations: 8 kB / 416.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.2398, allocations: 250.5 kB / 417 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.2414, allocations: 1.116 MB / 418.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.2418, allocations: 150.5 kB / 418.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.2419, allocations: 63.8 kB / 418.3 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.242, allocations: 11.98 kB / 418.3 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.242, allocations: 34.56 kB / 418.4 MB, free: 8.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.242, allocations: 0 / 418.4 MB, free: 8.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001922/0.2439, allocations: 0.5984 MB / 419 MB, free: 8.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.244, allocations: 59.41 kB / 419 MB, free: 8.246 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.2443, allocations: 278.9 kB / 419.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.2443, allocations: 29.7 kB / 419.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.2444, allocations: 227.5 kB / 419.6 MB, free: 7.703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.2445, allocations: 74.94 kB / 419.6 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.741e-05/0.2446, allocations: 61.61 kB / 419.7 MB, free: 7.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.2447, allocations: 338.8 kB / 420 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.245, allocations: 103.9 kB / 420.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.2453, allocations: 199.8 kB / 420.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/0.2459, allocations: 305.1 kB / 420.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2459, allocations: 3.984 kB / 420.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008167/0.2468, allocations: 397 kB / 421 MB, free: 6.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2468, allocations: 8 kB / 421 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2468, allocations: 4 kB / 421 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/0.2471, allocations: 61.89 kB / 421.1 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.2474, allocations: 71.89 kB / 421.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.2494, allocations: 2.841 MB / 424 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.2496, allocations: 19.98 kB / 424 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.2497, allocations: 16 kB / 424 MB, free: 2.832 MB / 334.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 (37): * Single equations (assignments): 35 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.2498, allocations: 157.7 kB / 424.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.2499, allocations: 27.62 kB / 424.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.18e-05/0.25, allocations: 34.2 kB / 424.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.25, allocations: 0 / 424.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.25, allocations: 0 / 424.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.2501, allocations: 108.8 kB / 424.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.2501, allocations: 0 / 424.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.2503, allocations: 19.92 kB / 424.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.2504, allocations: 23.97 kB / 424.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008536/0.2513, allocations: 362.3 kB / 424.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000865/0.2521, allocations: 0.5021 MB / 425.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002492/0.2524, allocations: 99.3 kB / 425.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.2526, allocations: 194 kB / 425.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of Backend: time 3.81e-07/0.2526, allocations: 0 / 425.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009368/0.2535, allocations: 491.6 kB / 426 MB, free: 0.75 MB / 334.1 MB Notification: Performance of SimCode: time 0.001036/0.2546, allocations: 1.012 MB / 427 MB, free: 15.69 MB / 350.1 MB Notification: Performance of Templates: time 0.006798/0.2614, allocations: 3.267 MB / 430.3 MB, free: 12.47 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1)