Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 106.6 kB / 18.4 MB, free: 4.699 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.001157/0.001157, allocations: 186.2 kB / 19.34 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 51.94 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07994/0.08125, allocations: 46.61 MB / 375.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003957/0.08524, allocations: 2.667 MB / 378.5 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.08682, allocations: 0.908 MB / 379.4 MB, free: 1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.08705, allocations: 7.938 kB / 379.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.08734, allocations: 67.42 kB / 379.5 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.08767, allocations: 95.25 kB / 379.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.08795, allocations: 95.81 kB / 379.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.08837, allocations: 354.6 kB / 380 MB, free: 400 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.08858, allocations: 113.7 kB / 380.1 MB, free: 284 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.0888, allocations: 131.5 kB / 380.2 MB, free: 152 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1656/0.2544, allocations: 153.1 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.2546, allocations: 27 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.68e-05/0.2547, allocations: 30.09 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.749e-05/0.2547, allocations: 68 kB / 380.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.2549, allocations: 151.4 kB / 380.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.2553, allocations: 360 kB / 381 MB, free: 9.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2553, allocations: 0 / 381 MB, free: 9.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2553, allocations: 0 / 381 MB, free: 9.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.2553, allocations: 6.594 kB / 381 MB, free: 9.977 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0008632/0.2562, allocations: 0.6031 MB / 381.6 MB, free: 9.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2562, allocations: 12.77 kB / 381.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.2563, allocations: 38 kB / 381.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.2566, allocations: 257.9 kB / 381.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.2566, allocations: 18.12 kB / 381.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.2567, allocations: 27 kB / 382 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.2571, allocations: 256.3 kB / 382.2 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2572, allocations: 3.938 kB / 382.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.2572, allocations: 9.688 kB / 382.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2572, allocations: 5.5 kB / 382.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/0.2576, allocations: 211.2 kB / 382.4 MB, free: 9.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.2591, allocations: 0.9982 MB / 383.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.2595, allocations: 208.6 kB / 383.6 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.2598, allocations: 110.6 kB / 383.7 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.2599, allocations: 4.797 kB / 383.7 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.2599, allocations: 36.77 kB / 383.8 MB, free: 8.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.2599, allocations: 2.656 kB / 383.8 MB, free: 8.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.004758/0.2647, allocations: 1.54 MB / 385.3 MB, free: 8.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.756e-05/0.2647, allocations: 55.94 kB / 385.4 MB, free: 8.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.2649, allocations: 232.5 kB / 385.6 MB, free: 8.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.2649, allocations: 31.64 kB / 385.6 MB, free: 7.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.265, allocations: 181.2 kB / 385.8 MB, free: 7.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.2651, allocations: 119.5 kB / 385.9 MB, free: 7.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.944e-05/0.2652, allocations: 67.16 kB / 386 MB, free: 7.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.454e-05/0.2652, allocations: 333.6 kB / 386.3 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.2655, allocations: 109.7 kB / 386.4 MB, free: 7.422 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.2657, allocations: 164.2 kB / 386.6 MB, free: 7.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/0.2662, allocations: 281 kB / 386.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2662, allocations: 1.531 kB / 386.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001568/0.2678, allocations: 0.5315 MB / 387.4 MB, free: 6.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2678, allocations: 6.406 kB / 387.4 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2678, allocations: 1.312 kB / 387.4 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.269, allocations: 246.3 kB / 387.6 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.2693, allocations: 57.17 kB / 387.7 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004058/0.2734, allocations: 4.14 MB / 391.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.2736, allocations: 15.23 kB / 391.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.2736, allocations: 17.22 kB / 391.9 MB, free: 3.297 MB / 318.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.0001266/0.2738, allocations: 142.3 kB / 392 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.2738, allocations: 28.66 kB / 392 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/0.2739, allocations: 44.09 kB / 392.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2739, allocations: 1.734 kB / 392.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2739, allocations: 0 / 392.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.274, allocations: 108.3 kB / 392.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.274, allocations: 7.75 kB / 392.2 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.2742, allocations: 17.91 kB / 392.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.2744, allocations: 30.69 kB / 392.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001516/0.2759, allocations: 0.5571 MB / 392.8 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008235/0.2767, allocations: 0.6102 MB / 393.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000227/0.277, allocations: 119.8 kB / 393.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.2771, allocations: 167.8 kB / 393.7 MB, free: 2.211 MB / 318.1 MB Notification: Performance of Backend: time 1.252e-06/0.2771, allocations: 0 / 393.7 MB, free: 2.211 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009611/0.2781, allocations: 0.551 MB / 394.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of SimCode: time 0.001012/0.2791, allocations: 1.183 MB / 395.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of Templates: time 0.008999/0.2881, allocations: 4.85 MB / 400.3 MB, free: 340 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)