Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001775/0.001775, allocations: 118.3 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.001714/0.001714, allocations: 198.7 kB / 19.4 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.338/1.338, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 67.88 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2254, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004045/0.2295, allocations: 2.804 MB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.231, allocations: 0.7828 MB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.2312, allocations: 8 kB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.2315, allocations: 63.42 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.2319, allocations: 103.2 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.2322, allocations: 107.8 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000454/0.2327, allocations: 393.8 kB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.2329, allocations: 130.9 kB / 414.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.2332, allocations: 167.3 kB / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.2334, allocations: 167.2 kB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.2335, allocations: 32 kB / 414.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.616e-05/0.2335, allocations: 36 kB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.2336, allocations: 79.69 kB / 414.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.2337, allocations: 175.1 kB / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.2341, allocations: 403.6 kB / 415.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2341, allocations: 0 / 415.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2341, allocations: 0 / 415.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.2341, allocations: 0 / 415.3 MB, free: 12.16 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.001086/0.2352, allocations: 0.647 MB / 416 MB, free: 11.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2353, allocations: 8.031 kB / 416 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.505e-05/0.2353, allocations: 32.56 kB / 416 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.2357, allocations: 276.5 kB / 416.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.2357, allocations: 25.03 kB / 416.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.2358, allocations: 28.38 kB / 416.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005745/0.2364, allocations: 302.3 kB / 416.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2364, allocations: 0 / 416.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.2364, allocations: 16 kB / 416.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.2364, allocations: 8 kB / 416.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005952/0.237, allocations: 246.5 kB / 416.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.2386, allocations: 1.104 MB / 418 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.239, allocations: 158.5 kB / 418.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.2392, allocations: 64.83 kB / 418.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.2392, allocations: 7.969 kB / 418.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.2392, allocations: 34.56 kB / 418.3 MB, free: 9.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.2393, allocations: 0 / 418.3 MB, free: 9.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001955/0.2412, allocations: 0.5948 MB / 418.9 MB, free: 8.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.2413, allocations: 55.41 kB / 418.9 MB, free: 8.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.2415, allocations: 266.7 kB / 419.2 MB, free: 8.066 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.2415, allocations: 33.7 kB / 419.2 MB, free: 8.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.2417, allocations: 223.5 kB / 419.4 MB, free: 7.805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.2417, allocations: 74.98 kB / 419.5 MB, free: 7.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.624e-05/0.2418, allocations: 69.39 kB / 419.6 MB, free: 7.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2419, allocations: 342.8 kB / 419.9 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.2422, allocations: 99.92 kB / 420 MB, free: 7.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.2426, allocations: 184.2 kB / 420.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.2432, allocations: 313.1 kB / 420.5 MB, free: 6.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2432, allocations: 4 kB / 420.5 MB, free: 6.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008349/0.244, allocations: 393.3 kB / 420.9 MB, free: 6.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2441, allocations: 4 kB / 420.9 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2441, allocations: 4 kB / 420.9 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/0.2443, allocations: 57.67 kB / 421 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.2446, allocations: 75.89 kB / 421 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.2466, allocations: 2.829 MB / 423.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.2469, allocations: 23.98 kB / 423.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.2469, allocations: 12 kB / 423.9 MB, free: 2.949 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.0001494/0.2471, allocations: 165.6 kB / 424.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.2471, allocations: 27.56 kB / 424.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.796e-05/0.2472, allocations: 34.17 kB / 424.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.2472, allocations: 4.062 kB / 424.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2472, allocations: 3.938 kB / 424.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.2473, allocations: 96.83 kB / 424.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.2474, allocations: 7.984 kB / 424.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.2476, allocations: 19.92 kB / 424.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.2476, allocations: 19.97 kB / 424.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009024/0.2485, allocations: 369.9 kB / 424.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000906/0.2495, allocations: 0.4982 MB / 425.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002605/0.2497, allocations: 91.94 kB / 425.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.2499, allocations: 190 kB / 425.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of Backend: time 3.7e-07/0.2499, allocations: 4 kB / 425.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009726/0.2509, allocations: 483.9 kB / 425.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of SimCode: time 0.001082/0.252, allocations: 1.009 MB / 426.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Templates: time 0.006947/0.259, allocations: 3.155 MB / 430 MB, free: 12.68 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1)