Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001494, allocations: 110.3 kB / 17.74 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.001751/0.001751, allocations: 185.4 kB / 18.67 MB, free: 4.414 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009497/0.0009497, allocations: 39.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2304, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00373/0.2342, allocations: 2.794 MB / 404.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2353, allocations: 0.7399 MB / 404.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.2354, allocations: 4 kB / 404.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.2356, allocations: 71.44 kB / 405 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.2359, allocations: 95.17 kB / 405.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.2361, allocations: 111.7 kB / 405.2 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000324/0.2365, allocations: 390.5 kB / 405.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.2367, allocations: 126.9 kB / 405.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.2369, allocations: 159.3 kB / 405.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.2371, allocations: 159.3 kB / 406 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.884e-05/0.2371, allocations: 32 kB / 406.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.862e-05/0.2372, allocations: 36 kB / 406.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.2373, allocations: 91.61 kB / 406.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.2374, allocations: 163.1 kB / 406.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.2377, allocations: 391.8 kB / 406.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2377, allocations: 7.922 kB / 406.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2377, allocations: 0 / 406.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.2378, allocations: 0 / 406.7 MB, free: 3.531 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.001073/0.2388, allocations: 0.6393 MB / 407.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2389, allocations: 11.89 kB / 407.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/0.239, allocations: 40.41 kB / 407.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.2393, allocations: 272.9 kB / 407.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.2393, allocations: 25.03 kB / 407.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.2394, allocations: 32.38 kB / 407.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005664/0.2399, allocations: 290.4 kB / 408 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2399, allocations: 3.938 kB / 408 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.24, allocations: 12 kB / 408.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.24, allocations: 8 kB / 408.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006001/0.2406, allocations: 246.5 kB / 408.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.2422, allocations: 1.116 MB / 409.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.2425, allocations: 146.5 kB / 409.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.2427, allocations: 76.75 kB / 409.6 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.2428, allocations: 3.984 kB / 409.6 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2428, allocations: 34.56 kB / 409.7 MB, free: 392 kB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.835e-06/0.2428, allocations: 4 kB / 409.7 MB, free: 388 kB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.002039/0.2448, allocations: 0.5909 MB / 410.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.2449, allocations: 55.41 kB / 410.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.2451, allocations: 266.6 kB / 410.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2452, allocations: 25.7 kB / 410.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.2453, allocations: 223.5 kB / 410.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.2453, allocations: 78.98 kB / 410.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-05/0.2454, allocations: 61.61 kB / 411 MB, free: 15.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2455, allocations: 338.8 kB / 411.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.2458, allocations: 103.9 kB / 411.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.2462, allocations: 184 kB / 411.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/0.2468, allocations: 309.8 kB / 411.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2468, allocations: 0 / 411.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008209/0.2476, allocations: 397.3 kB / 412.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2477, allocations: 4 kB / 412.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2477, allocations: 7.938 kB / 412.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002244/0.2479, allocations: 61.67 kB / 412.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.2482, allocations: 71.89 kB / 412.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.25, allocations: 2.833 MB / 415.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.2503, allocations: 27.97 kB / 415.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.2503, allocations: 12 kB / 415.3 MB, free: 10.33 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.0001339/0.2505, allocations: 145.7 kB / 415.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/0.2505, allocations: 27.72 kB / 415.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.426e-05/0.2506, allocations: 38.17 kB / 415.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2506, allocations: 0 / 415.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2506, allocations: 4 kB / 415.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.2507, allocations: 112.7 kB / 415.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.2507, allocations: 0 / 415.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.251, allocations: 19.92 kB / 415.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.251, allocations: 19.97 kB / 415.6 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008907/0.2519, allocations: 368.7 kB / 416 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008877/0.2528, allocations: 0.4983 MB / 416.5 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002607/0.2531, allocations: 95.11 kB / 416.6 MB, free: 8.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.2533, allocations: 190 kB / 416.8 MB, free: 8.781 MB / 334.1 MB Notification: Performance of Backend: time 6.21e-07/0.2533, allocations: 0 / 416.8 MB, free: 8.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009192/0.2542, allocations: 492 kB / 417.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of SimCode: time 0.000959/0.2552, allocations: 0.9956 MB / 418.3 MB, free: 7.227 MB / 334.1 MB Notification: Performance of Templates: time 0.006238/0.2614, allocations: 3.157 MB / 421.4 MB, free: 4.078 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1)