Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 110.5 kB / 17.75 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 197.2 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 43.94 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.249, allocations: 49.44 MB / 401.4 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004073/0.2532, allocations: 2.82 MB / 404.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2544, allocations: 0.7555 MB / 405 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.2545, allocations: 4 kB / 405 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.2547, allocations: 67.42 kB / 405.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.255, allocations: 95.19 kB / 405.2 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.2552, allocations: 107.8 kB / 405.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.2556, allocations: 405.1 kB / 405.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.2558, allocations: 126.9 kB / 405.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.256, allocations: 163.3 kB / 405.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.2562, allocations: 171.2 kB / 406.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.815e-05/0.2563, allocations: 32 kB / 406.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.504e-05/0.2563, allocations: 36 kB / 406.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.2564, allocations: 79.64 kB / 406.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.2566, allocations: 179.1 kB / 406.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.2569, allocations: 403.8 kB / 406.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2569, allocations: 0 / 406.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2569, allocations: 0 / 406.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.2569, allocations: 8 kB / 406.8 MB, free: 3.559 MB / 318.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.001123/0.2581, allocations: 0.6353 MB / 407.5 MB, free: 2.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2581, allocations: 15.97 kB / 407.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.11e-05/0.2582, allocations: 40.56 kB / 407.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.2585, allocations: 281.1 kB / 407.8 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.2586, allocations: 25.03 kB / 407.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.2586, allocations: 28.38 kB / 407.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.2592, allocations: 298.3 kB / 408.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2592, allocations: 0 / 408.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.2593, allocations: 20 kB / 408.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.2593, allocations: 12 kB / 408.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005983/0.2599, allocations: 250.5 kB / 408.4 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.2615, allocations: 1.104 MB / 409.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.2619, allocations: 158.5 kB / 409.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.2621, allocations: 64.81 kB / 409.7 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.2621, allocations: 11.98 kB / 409.7 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.2621, allocations: 34.56 kB / 409.8 MB, free: 396 kB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.2621, allocations: 0 / 409.8 MB, free: 396 kB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.00206/0.2642, allocations: 0.5887 MB / 410.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.2642, allocations: 55.41 kB / 410.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.2645, allocations: 282.5 kB / 410.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.2645, allocations: 29.7 kB / 410.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.2647, allocations: 223.5 kB / 410.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.2647, allocations: 78.89 kB / 411 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.2648, allocations: 57.7 kB / 411.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.265, allocations: 346.8 kB / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.2653, allocations: 95.92 kB / 411.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.2656, allocations: 199.9 kB / 411.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006153/0.2662, allocations: 301.8 kB / 412 MB, free: 14.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2662, allocations: 4 kB / 412 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008501/0.2671, allocations: 396.8 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2671, allocations: 10.75 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2671, allocations: 4 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002354/0.2674, allocations: 62.08 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.2677, allocations: 75.89 kB / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.2696, allocations: 2.837 MB / 415.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.2699, allocations: 23.97 kB / 415.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.2699, allocations: 19.94 kB / 415.4 MB, free: 10.3 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.0001446/0.2701, allocations: 165.7 kB / 415.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.2701, allocations: 23.62 kB / 415.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.2702, allocations: 34.17 kB / 415.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2702, allocations: 0 / 415.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2702, allocations: 0 / 415.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.088e-05/0.2703, allocations: 100.8 kB / 415.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.2703, allocations: 4 kB / 415.7 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.2706, allocations: 23.92 kB / 415.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.2706, allocations: 15.97 kB / 415.8 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000909/0.2716, allocations: 368.4 kB / 416.1 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009012/0.2725, allocations: 0.4982 MB / 416.6 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002627/0.2727, allocations: 102.9 kB / 416.7 MB, free: 8.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.2729, allocations: 194 kB / 416.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of Backend: time 5.01e-07/0.2729, allocations: 0 / 416.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009544/0.2739, allocations: 491.4 kB / 417.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of SimCode: time 0.001031/0.2749, allocations: 1.005 MB / 418.4 MB, free: 7.172 MB / 334.1 MB Notification: Performance of Templates: time 0.006593/0.2815, allocations: 3.255 MB / 421.7 MB, free: 3.961 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1)