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.001257/0.001258, 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.00139/0.00139, 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.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 56.09 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2279, allocations: 50.55 MB / 409.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003899/0.2318, allocations: 2.846 MB / 412.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.2332, allocations: 0.7865 MB / 413.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.2334, allocations: 8 kB / 413.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.2336, allocations: 63.42 kB / 413.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.2339, allocations: 103.2 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.2342, allocations: 119.7 kB / 413.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.2346, allocations: 394.5 kB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.2348, allocations: 130.9 kB / 414.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.2351, allocations: 167.3 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.2354, allocations: 171.2 kB / 414.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.416e-05/0.2354, allocations: 32 kB / 414.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.952e-05/0.2355, allocations: 36 kB / 414.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.2356, allocations: 87.62 kB / 414.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.2357, allocations: 175.1 kB / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.2361, allocations: 407.6 kB / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2361, allocations: 0 / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.2361, allocations: 0 / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.2361, allocations: 3.938 kB / 415.4 MB, free: 12.13 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.0012/0.2373, allocations: 0.647 MB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2374, allocations: 8.031 kB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.32e-05/0.2375, allocations: 40.47 kB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.2378, allocations: 279.4 kB / 416.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.2378, allocations: 25.03 kB / 416.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/0.2379, allocations: 28.38 kB / 416.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006009/0.2385, allocations: 302.3 kB / 416.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.2385, allocations: 0 / 416.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.2386, allocations: 12 kB / 416.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2386, allocations: 11.94 kB / 416.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006308/0.2392, allocations: 254.5 kB / 417 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.2409, allocations: 1.116 MB / 418.1 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.2413, allocations: 154.5 kB / 418.3 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.2415, allocations: 64.83 kB / 418.3 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.2415, allocations: 7.984 kB / 418.4 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.2416, allocations: 30.56 kB / 418.4 MB, free: 8.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.532e-06/0.2416, allocations: 0 / 418.4 MB, free: 8.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.002091/0.2437, allocations: 0.6012 MB / 419 MB, free: 8.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.2437, allocations: 55.41 kB / 419 MB, free: 8.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.244, allocations: 282.9 kB / 419.3 MB, free: 8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.244, allocations: 29.7 kB / 419.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.2442, allocations: 227.5 kB / 419.6 MB, free: 7.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.2442, allocations: 78.92 kB / 419.6 MB, free: 7.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.413e-05/0.2443, allocations: 65.61 kB / 419.7 MB, free: 7.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.2445, allocations: 338.8 kB / 420 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.2448, allocations: 95.92 kB / 420.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.2451, allocations: 195.9 kB / 420.3 MB, free: 6.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006332/0.2458, allocations: 309.1 kB / 420.6 MB, free: 6.574 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2458, allocations: 7.938 kB / 420.6 MB, free: 6.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008837/0.2467, allocations: 401.2 kB / 421 MB, free: 6.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2467, allocations: 8 kB / 421 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2467, allocations: 4 kB / 421 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/0.247, allocations: 57.67 kB / 421.1 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.2473, allocations: 79.89 kB / 421.2 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.2493, allocations: 2.825 MB / 424 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.2496, allocations: 23.98 kB / 424 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.2497, allocations: 16 kB / 424 MB, free: 2.867 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.2498, allocations: 153.6 kB / 424.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.2499, allocations: 27.62 kB / 424.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.871e-05/0.2499, allocations: 34.27 kB / 424.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.25, allocations: 4 kB / 424.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.25, allocations: 0 / 424.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.693e-05/0.25, allocations: 100.8 kB / 424.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.2501, allocations: 4 kB / 424.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.2503, allocations: 19.92 kB / 424.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.2504, allocations: 15.97 kB / 424.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009242/0.2513, allocations: 370.5 kB / 424.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000932/0.2523, allocations: 0.4982 MB / 425.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002665/0.2525, allocations: 97.05 kB / 425.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.2527, allocations: 198 kB / 425.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of Backend: time 3.4e-07/0.2527, allocations: 0 / 425.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009861/0.2537, allocations: 496.5 kB / 426 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of SimCode: time 0.001065/0.2548, allocations: 1.02 MB / 427 MB, free: 15.72 MB / 350.1 MB Notification: Performance of Templates: time 0.006869/0.2617, allocations: 3.264 MB / 430.3 MB, free: 12.5 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)