Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 68.62 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1056, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003909/0.1096, allocations: 2.826 MB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1114, allocations: 1.296 MB / 363 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.1116, allocations: 4 kB / 363 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.1118, allocations: 63.44 kB / 363.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.1123, allocations: 230.7 kB / 363.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.1126, allocations: 131.8 kB / 363.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.1131, allocations: 459 kB / 363.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.1133, allocations: 96.48 kB / 364 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.1136, allocations: 187.4 kB / 364.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.1138, allocations: 219.2 kB / 364.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.845e-05/0.1139, allocations: 44 kB / 364.4 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.1142, allocations: 167.9 kB / 364.6 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.454e-05/0.1143, allocations: 91.66 kB / 364.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.1145, allocations: 191.1 kB / 364.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005078/0.115, allocations: 0.4984 MB / 365.4 MB, free: 6.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.115, allocations: 0 / 365.4 MB, free: 6.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.115, allocations: 3.938 kB / 365.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.115, allocations: 0 / 365.4 MB, free: 6.82 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001697/0.1167, allocations: 0.7094 MB / 366.1 MB, free: 6.062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1168, allocations: 12.03 kB / 366.1 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.117, allocations: 48.41 kB / 366.1 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.1174, allocations: 337.3 kB / 366.5 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.58e-05/0.1175, allocations: 46.83 kB / 366.5 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.1177, allocations: 44.39 kB / 366.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/0.1183, allocations: 324.3 kB / 366.9 MB, free: 5.203 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1183, allocations: 4 kB / 366.9 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.1183, allocations: 12 kB / 366.9 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.1183, allocations: 8 kB / 366.9 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006445/0.119, allocations: 298 kB / 367.2 MB, free: 4.891 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.1207, allocations: 1.152 MB / 368.3 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.1213, allocations: 299.8 kB / 368.6 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.1216, allocations: 165.6 kB / 368.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.1217, allocations: 4 kB / 368.8 MB, free: 3.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.1217, allocations: 30.56 kB / 368.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.1217, allocations: 0 / 368.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.009133/0.1309, allocations: 2.426 MB / 371.3 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.1309, allocations: 81.11 kB / 371.3 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.1313, allocations: 292.9 kB / 371.6 MB, free: 244 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.1313, allocations: 29.7 kB / 371.7 MB, free: 208 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1314, allocations: 180.3 kB / 371.8 MB, free: 24 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.156/0.2874, allocations: 135.6 kB / 372 MB, free: 20.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.2876, allocations: 79.66 kB / 372 MB, free: 20.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.2877, allocations: 341.8 kB / 372.4 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/0.2882, allocations: 159.8 kB / 372.5 MB, free: 20.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.2887, allocations: 231 kB / 372.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008214/0.2895, allocations: 407.8 kB / 373.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2895, allocations: 0.875 kB / 373.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001072/0.2906, allocations: 490.2 kB / 373.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.2906, allocations: 5.812 kB / 373.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2907, allocations: 2.375 kB / 373.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.2907, allocations: 4.469 kB / 373.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/0.2913, allocations: 121.8 kB / 373.8 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.2914, allocations: 9.203 kB / 373.8 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.2918, allocations: 35.97 kB / 373.8 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.2918, allocations: 17.86 kB / 373.8 MB, free: 19.9 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.292, allocations: 152.4 kB / 374 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.349e-05/0.2921, allocations: 31.36 kB / 374 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.294, allocations: 0.654 MB / 374.7 MB, free: 19.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.294, allocations: 6.359 kB / 374.7 MB, free: 19.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.294, allocations: 1.438 kB / 374.7 MB, free: 19.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.294, allocations: 6.906 kB / 374.7 MB, free: 19.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/0.2972, allocations: 1.278 MB / 376 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2972, allocations: 5.125 kB / 376 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.2977, allocations: 85.41 kB / 376 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/0.2993, allocations: 279.4 kB / 376.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/0.2993, allocations: 13.39 kB / 376.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003523/0.3028, allocations: 2.431 MB / 378.8 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3029, allocations: 2.156 kB / 378.8 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.3051, allocations: 1.01 MB / 379.8 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.3053, allocations: 147.3 kB / 379.9 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.629e-05/0.3053, allocations: 8 kB / 379.9 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.3058, allocations: 33.41 kB / 380 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.3059, allocations: 37.23 kB / 380 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.306, allocations: 14.02 kB / 380 MB, free: 16.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002412/0.3062, allocations: 213.6 kB / 380.2 MB, free: 16.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3062, allocations: 1.125 kB / 380.2 MB, free: 16.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006895/0.3069, allocations: 113.9 kB / 380.3 MB, free: 16.08 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003873/0.3073, allocations: 150.3 kB / 380.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.3085, allocations: 431.5 kB / 380.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3085, allocations: 1.531 kB / 380.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000708/0.3093, allocations: 386 kB / 381.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.3098, allocations: 43.88 kB / 381.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.3119, allocations: 0.9583 MB / 382.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.3123, allocations: 0.7865 MB / 383.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002545/0.3125, allocations: 40.2 kB / 383.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.3127, allocations: 39.42 kB / 383.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3127, allocations: 4 kB / 383.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of Templates: time 0.01229/0.325, allocations: 6.351 MB / 389.5 MB, free: 12.45 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1)