Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001465/0.001465, allocations: 114.3 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.001842/0.001842, 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.436/1.436, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2228, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004021/0.2268, allocations: 2.773 MB / 412.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.2283, allocations: 0.9384 MB / 413.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.2284, allocations: 7.938 kB / 413.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.2287, allocations: 55.52 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.229, allocations: 111.2 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.2293, allocations: 115.7 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.2296, allocations: 346.7 kB / 414.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.2298, allocations: 117.7 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.23, allocations: 151.4 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.2302, allocations: 151.3 kB / 414.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.2303, allocations: 28 kB / 414.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.272e-05/0.2304, allocations: 32 kB / 414.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.2304, allocations: 67.77 kB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.2306, allocations: 155.2 kB / 415 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.2309, allocations: 371.8 kB / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2309, allocations: 3.938 kB / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2309, allocations: 0 / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2309, allocations: 4 kB / 415.3 MB, free: 12.17 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009383/0.2319, allocations: 0.6041 MB / 415.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2319, allocations: 8.031 kB / 415.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.2321, allocations: 48.55 kB / 416 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.2324, allocations: 268.5 kB / 416.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.2325, allocations: 20.94 kB / 416.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.2325, allocations: 24.38 kB / 416.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.233, allocations: 253.2 kB / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.233, allocations: 0 / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.233, allocations: 16 kB / 416.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.2331, allocations: 12 kB / 416.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.2335, allocations: 210.1 kB / 416.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.2349, allocations: 0.9975 MB / 417.8 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.2353, allocations: 206.4 kB / 418 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.2356, allocations: 112.8 kB / 418.1 MB, free: 9.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.2356, allocations: 4.062 kB / 418.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2357, allocations: 38.56 kB / 418.1 MB, free: 9.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.2357, allocations: 0 / 418.1 MB, free: 9.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.005092/0.2408, allocations: 1.542 MB / 419.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.2408, allocations: 55.34 kB / 419.7 MB, free: 7.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.241, allocations: 236.9 kB / 419.9 MB, free: 7.246 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.2411, allocations: 33.7 kB / 420 MB, free: 7.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.2412, allocations: 184.2 kB / 420.2 MB, free: 7.023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.579e-05/0.2413, allocations: 122.2 kB / 420.3 MB, free: 6.902 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.2414, allocations: 70.06 kB / 420.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2415, allocations: 338.8 kB / 420.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.2417, allocations: 104.7 kB / 420.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.242, allocations: 157.7 kB / 420.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/0.2425, allocations: 287.6 kB / 421.2 MB, free: 5.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2425, allocations: 0 / 421.2 MB, free: 5.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001611/0.2441, allocations: 0.5333 MB / 421.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2442, allocations: 4 kB / 421.8 MB, free: 5.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2442, allocations: 4 kB / 421.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.2455, allocations: 249.4 kB / 422 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.2458, allocations: 59.91 kB / 422.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004547/0.2504, allocations: 4.126 MB / 426.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.2506, allocations: 15.98 kB / 426.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.2506, allocations: 12 kB / 426.2 MB, free: 0.625 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.2508, allocations: 161.7 kB / 426.4 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/0.2509, allocations: 27.62 kB / 426.4 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.956e-05/0.251, allocations: 38.95 kB / 426.4 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.251, allocations: 0 / 426.4 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.251, allocations: 0 / 426.4 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.2511, allocations: 104.8 kB / 426.5 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.2511, allocations: 8 kB / 426.5 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.2514, allocations: 15.92 kB / 426.6 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.2515, allocations: 39.89 kB / 426.6 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001565/0.253, allocations: 0.5488 MB / 427.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008391/0.2539, allocations: 0.6134 MB / 427.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002268/0.2541, allocations: 111.9 kB / 427.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.2543, allocations: 164.5 kB / 428 MB, free: 14.74 MB / 350.1 MB Notification: Performance of Backend: time 5.01e-07/0.2543, allocations: 0 / 428 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.2553, allocations: 0.5615 MB / 428.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of SimCode: time 0.001095/0.2564, allocations: 1.194 MB / 429.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Templates: time 0.00876/0.2652, allocations: 4.975 MB / 434.8 MB, free: 7.941 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1)