Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008001/0.0007999, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009476/0.0009476, allocations: 168.7 kB / 15.95 MB, free: 204 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.601/1.601, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.000449/0.0004492, allocations: 14.81 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2494, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003401/0.2528, allocations: 2.861 MB / 329.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.2552, allocations: 1.322 MB / 330.7 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.2554, allocations: 5.719 kB / 330.7 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.2579, allocations: 1.717 MB / 332.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.2584, allocations: 134.1 kB / 332.5 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.2591, allocations: 233.1 kB / 332.7 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.2609, allocations: 1.393 MB / 334.1 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.2611, allocations: 102.7 kB / 334.2 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003686/0.2615, allocations: 287.1 kB / 334.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/0.2619, allocations: 310.9 kB / 334.8 MB, free: 11.13 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.037e-05/0.262, allocations: 20 kB / 334.8 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.2622, allocations: 51.98 kB / 334.9 MB, free: 11.06 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006799/0.2629, allocations: 0.8298 MB / 335.7 MB, free: 10.23 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.2632, allocations: 380.3 kB / 336.1 MB, free: 9.848 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.2649, allocations: 2.083 MB / 338.2 MB, free: 7.762 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2649, allocations: 8 kB / 338.2 MB, free: 7.754 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2649, allocations: 0 / 338.2 MB, free: 7.754 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.2649, allocations: 0 / 338.2 MB, free: 7.754 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.0033/0.2682, allocations: 2.434 MB / 340.6 MB, free: 5.258 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2683, allocations: 8.031 kB / 340.6 MB, free: 5.25 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.2686, allocations: 284.3 kB / 340.9 MB, free: 4.969 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.2708, allocations: 1.693 MB / 342.6 MB, free: 3.219 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.491e-05/0.2709, allocations: 54.7 kB / 342.7 MB, free: 3.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.2711, allocations: 55.92 kB / 342.7 MB, free: 3.105 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007189/0.2718, allocations: 387 kB / 343.1 MB, free: 2.715 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.2718, allocations: 4 kB / 343.1 MB, free: 2.711 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.2719, allocations: 15.98 kB / 343.1 MB, free: 2.695 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.2719, allocations: 12 kB / 343.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006741/0.2726, allocations: 327.8 kB / 343.4 MB, free: 2.363 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003811/0.2764, allocations: 2.919 MB / 346.4 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.277, allocations: 318.1 kB / 346.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.2773, allocations: 169.6 kB / 346.8 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.2774, allocations: 12.55 kB / 346.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.2774, allocations: 34.56 kB / 346.9 MB, free: 14.79 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 2.274e-06/0.2774, allocations: 0 / 346.9 MB, free: 14.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.004384/0.2818, allocations: 2.37 MB / 349.2 MB, free: 12.35 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.2819, allocations: 89.48 kB / 349.3 MB, free: 12.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006245/0.2881, allocations: 5.439 MB / 354.8 MB, free: 6.805 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.416e-05/0.2882, allocations: 33.7 kB / 354.8 MB, free: 6.766 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.2894, allocations: 1.211 MB / 356 MB, free: 5.551 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.2896, allocations: 165.6 kB / 356.2 MB, free: 5.387 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.2896, allocations: 12 kB / 356.2 MB, free: 5.375 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2897, allocations: 326 kB / 356.5 MB, free: 5.051 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.2901, allocations: 137.1 kB / 356.6 MB, free: 4.914 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.2904, allocations: 217.7 kB / 356.9 MB, free: 4.676 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.2908, allocations: 172.7 kB / 357 MB, free: 4.504 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.2908, allocations: 4 kB / 357 MB, free: 4.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001176/0.292, allocations: 0.6802 MB / 357.7 MB, free: 3.812 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.292, allocations: 4 kB / 357.7 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2921, allocations: 4 kB / 357.7 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2921, allocations: 4 kB / 357.7 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.2926, allocations: 123.8 kB / 357.8 MB, free: 3.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.2926, allocations: 7.953 kB / 357.8 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.293, allocations: 24.08 kB / 357.9 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.293, allocations: 20 kB / 357.9 MB, free: 3.629 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (62): * Single equations (assignments): 62 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0011/0.2941, allocations: 0.923 MB / 358.8 MB, free: 2.695 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/0.2944, allocations: 268.4 kB / 359.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.2958, allocations: 0.7864 MB / 359.9 MB, free: 1.633 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.2958, allocations: 8 kB / 359.9 MB, free: 1.625 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2958, allocations: 0 / 359.9 MB, free: 1.625 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2959, allocations: 3.938 kB / 359.9 MB, free: 1.621 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.2974, allocations: 1.473 MB / 361.3 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2975, allocations: 0 / 361.3 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004258/0.2979, allocations: 95.89 kB / 361.4 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003358/0.2982, allocations: 84.7 kB / 361.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.2983, allocations: 15.98 kB / 361.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006429/0.2989, allocations: 0.6343 MB / 362.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2989, allocations: 0 / 362.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.3005, allocations: 1.058 MB / 363.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006563/0.3011, allocations: 0.4936 MB / 363.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.3013, allocations: 15.95 kB / 363.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.3017, allocations: 15.98 kB / 363.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.3018, allocations: 32.39 kB / 363.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.3019, allocations: 12 kB / 363.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.005018/0.3069, allocations: 3.981 MB / 367.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3069, allocations: 0 / 367.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008011/0.3077, allocations: 212 kB / 368 MB, free: 9.391 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * 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 (41): * Single equations (assignments): 40 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/0.3088, allocations: 413.8 kB / 368.4 MB, free: 8.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008078/0.3096, allocations: 381.1 kB / 368.8 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3096, allocations: 4 kB / 368.8 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004452/0.3101, allocations: 214.4 kB / 369 MB, free: 8.398 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.3111, allocations: 191.6 kB / 369.2 MB, free: 8.207 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007857/0.319, allocations: 5.919 MB / 375.1 MB, free: 2.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/0.3206, allocations: 1.81 MB / 376.9 MB, free: 416 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006848/0.3213, allocations: 275.6 kB / 377.2 MB, free: 136 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.3216, allocations: 91.36 kB / 377.3 MB, free: 48 kB / 302.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3216, allocations: 4 kB / 377.3 MB, free: 44 kB / 302.1 MB Notification: Performance of Templates: time 0.02695/0.3485, allocations: 13.92 MB / 391.2 MB, free: 2.098 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1)