Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001164/0.001164, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.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.0005076/0.0005076, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.271, allocations: 47.59 MB / 326.5 MB, free: 1.605 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002283/0.2733, allocations: 1.664 MB / 328.1 MB, free: 292 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.2744, allocations: 0.5625 MB / 328.7 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.2745, allocations: 6.812 kB / 328.7 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.019e-05/0.2745, allocations: 17.44 kB / 328.7 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.2747, allocations: 31.86 kB / 328.8 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.275, allocations: 77.45 kB / 328.8 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.2752, allocations: 163.2 kB / 329 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.2754, allocations: 37.72 kB / 329 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.2755, allocations: 70.67 kB / 329.1 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.2757, allocations: 65.5 kB / 329.2 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.2757, allocations: 8.469 kB / 329.2 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.647e-05/0.2757, allocations: 7.812 kB / 329.2 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.602e-05/0.2758, allocations: 31.98 kB / 329.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.2758, allocations: 49.67 kB / 329.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.276, allocations: 123.6 kB / 329.4 MB, free: 15.37 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.276, allocations: 1.188 kB / 329.4 MB, free: 15.37 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.276, allocations: 0 / 329.4 MB, free: 15.37 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.276, allocations: 0 / 329.4 MB, free: 15.37 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007709/0.2768, allocations: 446 kB / 329.8 MB, free: 14.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2768, allocations: 12.94 kB / 329.8 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/0.2769, allocations: 15.69 kB / 329.8 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.2771, allocations: 198.3 kB / 330 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.2771, allocations: 13.33 kB / 330.1 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.2772, allocations: 10.03 kB / 330.1 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.2775, allocations: 146.7 kB / 330.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.2776, allocations: 7.922 kB / 330.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.2776, allocations: 5.062 kB / 330.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.2776, allocations: 3.062 kB / 330.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.2779, allocations: 98.53 kB / 330.3 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009573/0.2789, allocations: 0.5107 MB / 330.8 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.2792, allocations: 106.8 kB / 330.9 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.2794, allocations: 67.2 kB / 331 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.2794, allocations: 17.48 kB / 331 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.2795, allocations: 35.94 kB / 331.1 MB, free: 13.91 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.2795, allocations: 0 / 331.1 MB, free: 13.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005086/0.28, allocations: 148.9 kB / 331.2 MB, free: 13.83 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.2801, allocations: 105.1 kB / 331.3 MB, free: 13.7 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.2803, allocations: 160 kB / 331.5 MB, free: 13.57 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.2803, allocations: 25.7 kB / 331.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.972e-05/0.2804, allocations: 119.8 kB / 331.6 MB, free: 13.43 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.2804, allocations: 26.45 kB / 331.6 MB, free: 13.4 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.2804, allocations: 5.25 kB / 331.6 MB, free: 13.4 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2806, allocations: 320.9 kB / 331.9 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2807, allocations: 43.44 kB / 332 MB, free: 13.06 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.2809, allocations: 81.89 kB / 332.1 MB, free: 12.99 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.281, allocations: 45.36 kB / 332.1 MB, free: 12.97 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2811, allocations: 1.312 kB / 332.1 MB, free: 12.97 MB / 270.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003545/0.2814, allocations: 151.3 kB / 332.3 MB, free: 12.88 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.2814, allocations: 9.109 kB / 332.3 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2815, allocations: 5.281 kB / 332.3 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2815, allocations: 1.094 kB / 332.3 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.282, allocations: 80.42 kB / 332.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.2836, allocations: 1.409 MB / 333.8 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.2838, allocations: 21.67 kB / 333.8 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.2838, allocations: 3 kB / 333.8 MB, free: 11.39 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.2839, allocations: 119.9 kB / 333.9 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.284, allocations: 17.86 kB / 333.9 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/0.2845, allocations: 161.4 kB / 334.1 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2845, allocations: 1.062 kB / 334.1 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.2845, allocations: 1.188 kB / 334.1 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2846, allocations: 0 / 334.1 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007861/0.2853, allocations: 471.2 kB / 334.5 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2854, allocations: 5.5 kB / 334.5 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.2855, allocations: 25.38 kB / 334.6 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002777/0.2858, allocations: 36.33 kB / 334.6 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.2858, allocations: 1.156 kB / 334.6 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.287, allocations: 1.3 MB / 335.9 MB, free: 9.336 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.287, allocations: 5.375 kB / 335.9 MB, free: 9.332 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006163/0.2876, allocations: 310.5 kB / 336.2 MB, free: 9.098 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.2877, allocations: 95.42 kB / 336.3 MB, free: 8.988 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.2877, allocations: 2.406 kB / 336.3 MB, free: 8.988 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.2879, allocations: 15.05 kB / 336.3 MB, free: 8.984 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.2879, allocations: 11.19 kB / 336.3 MB, free: 8.977 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.2879, allocations: 10.34 kB / 336.3 MB, free: 8.969 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.2881, allocations: 121.9 kB / 336.5 MB, free: 8.871 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2881, allocations: 0 / 336.5 MB, free: 8.871 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.2884, allocations: 32.34 kB / 336.5 MB, free: 8.871 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001393/0.2885, allocations: 99.88 kB / 336.6 MB, free: 8.781 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000671/0.2892, allocations: 142.1 kB / 336.7 MB, free: 8.703 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2892, allocations: 4 kB / 336.7 MB, free: 8.699 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.2895, allocations: 166.7 kB / 336.9 MB, free: 8.523 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.2898, allocations: 8 kB / 336.9 MB, free: 8.516 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.2914, allocations: 0.6067 MB / 337.5 MB, free: 7.883 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.2917, allocations: 0.716 MB / 338.2 MB, free: 7.141 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.775e-05/0.2918, allocations: 20.53 kB / 338.3 MB, free: 7.121 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.2918, allocations: 11.44 kB / 338.3 MB, free: 7.109 MB / 270.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2918, allocations: 0 / 338.3 MB, free: 7.109 MB / 270.1 MB Notification: Performance of Templates: time 0.004458/0.2963, allocations: 1.476 MB / 339.7 MB, free: 5.637 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1)