Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.008127/0.008128, allocations: 171.6 kB / 16.27 MB, free: 6.652 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.329/1.329, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.000489/0.000489, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2169, allocations: 47.58 MB / 327 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002589/0.2196, allocations: 2.441 MB / 329.5 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.2215, allocations: 1.274 MB / 330.8 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.2217, allocations: 7.625 kB / 330.8 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.2219, allocations: 52.84 kB / 330.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004605/0.2224, allocations: 188.8 kB / 331 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.2226, allocations: 105.5 kB / 331.1 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.223, allocations: 437.9 kB / 331.5 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.2232, allocations: 70.92 kB / 331.6 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.2235, allocations: 168.2 kB / 331.8 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.2238, allocations: 198.2 kB / 332 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.2239, allocations: 27.53 kB / 332 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.2242, allocations: 137.8 kB / 332.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.2242, allocations: 77.75 kB / 332.2 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.2244, allocations: 190.9 kB / 332.4 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.2249, allocations: 485.8 kB / 332.9 MB, free: 13 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2249, allocations: 0 / 332.9 MB, free: 13 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2249, allocations: 1.062 kB / 332.9 MB, free: 13 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2249, allocations: 0 / 332.9 MB, free: 13 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00146/0.2264, allocations: 0.6479 MB / 333.5 MB, free: 12.46 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2264, allocations: 12.73 kB / 333.5 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.289e-05/0.2265, allocations: 35.38 kB / 333.5 MB, free: 12.44 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.227, allocations: 330.2 kB / 333.9 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-05/0.227, allocations: 51.91 kB / 333.9 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.2272, allocations: 40.12 kB / 334 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/0.2278, allocations: 323.8 kB / 334.3 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.2279, allocations: 5.219 kB / 334.3 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.2279, allocations: 10.28 kB / 334.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.2279, allocations: 6.656 kB / 334.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007214/0.2286, allocations: 318.5 kB / 334.6 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.2303, allocations: 1.175 MB / 335.8 MB, free: 10.4 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006182/0.231, allocations: 305 kB / 336.1 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.2313, allocations: 165.7 kB / 336.2 MB, free: 9.918 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.2314, allocations: 7.984 kB / 336.3 MB, free: 9.91 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.2314, allocations: 38.56 kB / 336.3 MB, free: 9.863 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.2314, allocations: 0 / 336.3 MB, free: 9.863 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.00959/0.241, allocations: 2.534 MB / 338.8 MB, free: 7.254 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.2411, allocations: 85.05 kB / 338.9 MB, free: 7.152 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.2414, allocations: 288.9 kB / 339.2 MB, free: 6.859 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.2415, allocations: 33.7 kB / 339.2 MB, free: 6.82 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2416, allocations: 172.4 kB / 339.4 MB, free: 6.648 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.2417, allocations: 141.9 kB / 339.5 MB, free: 6.508 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.2418, allocations: 45.69 kB / 339.6 MB, free: 6.457 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2419, allocations: 342.8 kB / 339.9 MB, free: 6.113 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/0.2423, allocations: 168.8 kB / 340.1 MB, free: 5.949 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.2428, allocations: 234.7 kB / 340.3 MB, free: 5.699 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008439/0.2437, allocations: 435.5 kB / 340.7 MB, free: 5.254 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2437, allocations: 4 kB / 340.7 MB, free: 5.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001018/0.2447, allocations: 0.4928 MB / 341.2 MB, free: 4.75 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2447, allocations: 11.97 kB / 341.2 MB, free: 4.738 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.2447, allocations: 4 kB / 341.2 MB, free: 4.734 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.2448, allocations: 7.938 kB / 341.2 MB, free: 4.727 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/0.2454, allocations: 115.9 kB / 341.4 MB, free: 4.613 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.2454, allocations: 7.938 kB / 341.4 MB, free: 4.605 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.2458, allocations: 43.97 kB / 341.4 MB, free: 4.562 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.2458, allocations: 16 kB / 341.4 MB, free: 4.547 MB / 270.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.0001733/0.246, allocations: 153.7 kB / 341.6 MB, free: 4.387 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.122e-05/0.2461, allocations: 31.62 kB / 341.6 MB, free: 4.355 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.2481, allocations: 0.6993 MB / 342.3 MB, free: 3.645 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.2481, allocations: 4 kB / 342.3 MB, free: 3.641 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.2481, allocations: 8 kB / 342.3 MB, free: 3.633 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2482, allocations: 0 / 342.3 MB, free: 3.633 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.2514, allocations: 1.31 MB / 343.6 MB, free: 2.266 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.2514, allocations: 3.984 kB / 343.6 MB, free: 2.262 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.2518, allocations: 91.89 kB / 343.7 MB, free: 2.172 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001729/0.2536, allocations: 292.5 kB / 344 MB, free: 1.883 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.2536, allocations: 12 kB / 344 MB, free: 1.871 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003975/0.2576, allocations: 2.272 MB / 346.3 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2576, allocations: 0 / 346.3 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.26, allocations: 1.05 MB / 347.3 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.2602, allocations: 156.7 kB / 347.5 MB, free: 14.22 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.2603, allocations: 15.92 kB / 347.5 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/0.2607, allocations: 35.92 kB / 347.5 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.2608, allocations: 36.38 kB / 347.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.2609, allocations: 16 kB / 347.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002304/0.2611, allocations: 212.5 kB / 347.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2611, allocations: 4 kB / 347.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005632/0.2617, allocations: 119.9 kB / 347.9 MB, free: 13.79 MB / 286.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.0002647/0.262, allocations: 135.2 kB / 348.1 MB, free: 13.64 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009789/0.263, allocations: 462.2 kB / 348.5 MB, free: 13.19 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.263, allocations: 0 / 348.5 MB, free: 13.19 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006799/0.2637, allocations: 393.1 kB / 348.9 MB, free: 12.79 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.2642, allocations: 40.38 kB / 348.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.2659, allocations: 1.209 MB / 350.1 MB, free: 11.52 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.2663, allocations: 0.7894 MB / 350.9 MB, free: 10.7 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000214/0.2665, allocations: 50.88 kB / 351 MB, free: 10.65 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.2666, allocations: 35.42 kB / 351 MB, free: 10.62 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2666, allocations: 0 / 351 MB, free: 10.62 MB / 286.1 MB Notification: Performance of Templates: time 0.0107/0.2773, allocations: 5.885 MB / 356.9 MB, free: 4.727 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1)