Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001023/0.001023, allocations: 90.45 kB / 16.31 MB, free: 5.621 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.001438/0.001438, allocations: 183 kB / 17.21 MB, free: 5.535 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.783/1.783, allocations: 205.4 MB / 223.4 MB, free: 5.551 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.000494/0.0004943, allocations: 12 kB / 280.2 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2736, allocations: 47.58 MB / 327.7 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003478/0.2771, allocations: 2.858 MB / 330.6 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.2799, allocations: 1.321 MB / 331.9 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003636/0.2803, allocations: 13.28 kB / 331.9 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.283, allocations: 1.709 MB / 333.6 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000653/0.2837, allocations: 142.6 kB / 333.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007211/0.2844, allocations: 233.6 kB / 334 MB, free: 13.06 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002115/0.2865, allocations: 1.393 MB / 335.4 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.2868, allocations: 98.67 kB / 335.5 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005572/0.2874, allocations: 295.1 kB / 335.8 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.2878, allocations: 299 kB / 336.1 MB, free: 11.13 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.088e-05/0.2879, allocations: 23.94 kB / 336.1 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.2881, allocations: 55.97 kB / 336.2 MB, free: 11.05 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000685/0.2888, allocations: 0.826 MB / 337 MB, free: 10.23 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.2891, allocations: 380.3 kB / 337.4 MB, free: 9.848 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.2911, allocations: 2.091 MB / 339.4 MB, free: 7.754 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2911, allocations: 4 kB / 339.4 MB, free: 7.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2911, allocations: 0 / 339.4 MB, free: 7.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.16e-05/0.2912, allocations: 0 / 339.4 MB, free: 7.75 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.003938/0.2951, allocations: 2.434 MB / 341.9 MB, free: 5.254 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.2952, allocations: 8.031 kB / 341.9 MB, free: 5.246 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004163/0.2956, allocations: 284.3 kB / 342.2 MB, free: 4.965 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/0.2982, allocations: 1.693 MB / 343.9 MB, free: 3.215 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.849e-05/0.2983, allocations: 54.7 kB / 343.9 MB, free: 3.156 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.2984, allocations: 47.98 kB / 344 MB, free: 3.109 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007538/0.2992, allocations: 391 kB / 344.3 MB, free: 2.715 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.2992, allocations: 4 kB / 344.3 MB, free: 2.711 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.2993, allocations: 15.98 kB / 344.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.2993, allocations: 15.94 kB / 344.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007/0.3, allocations: 331.7 kB / 344.7 MB, free: 2.355 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004808/0.3048, allocations: 2.911 MB / 347.6 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.3056, allocations: 322.1 kB / 347.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.306, allocations: 169.6 kB / 348.1 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.315e-05/0.306, allocations: 8.547 kB / 348.1 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.3061, allocations: 38.56 kB / 348.1 MB, free: 14.79 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 5.67e-06/0.3061, allocations: 3.984 kB / 348.1 MB, free: 14.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.00526/0.3114, allocations: 2.37 MB / 350.5 MB, free: 12.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.3115, allocations: 85.55 kB / 350.6 MB, free: 12.24 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007708/0.3192, allocations: 5.439 MB / 356 MB, free: 6.801 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.3194, allocations: 33.7 kB / 356.1 MB, free: 6.762 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.3206, allocations: 1.211 MB / 357.3 MB, free: 5.547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.3208, allocations: 169.6 kB / 357.4 MB, free: 5.379 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.3209, allocations: 12 kB / 357.5 MB, free: 5.367 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.321, allocations: 326 kB / 357.8 MB, free: 5.043 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.3214, allocations: 137.1 kB / 357.9 MB, free: 4.906 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.3218, allocations: 221.6 kB / 358.1 MB, free: 4.664 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.3222, allocations: 168.8 kB / 358.3 MB, free: 4.496 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.3222, allocations: 4 kB / 358.3 MB, free: 4.492 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001536/0.3237, allocations: 0.6762 MB / 359 MB, free: 3.809 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.3238, allocations: 4.25 kB / 359 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3238, allocations: 8 kB / 359 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3238, allocations: 4 kB / 359 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/0.3243, allocations: 123.8 kB / 359.1 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.3244, allocations: 7.953 kB / 359.1 MB, free: 3.664 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006579/0.325, allocations: 19.98 kB / 359.1 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.3251, allocations: 16 kB / 359.1 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.001508/0.3266, allocations: 0.927 MB / 360.1 MB, free: 2.691 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004526/0.3271, allocations: 268.4 kB / 360.3 MB, free: 2.426 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.3287, allocations: 0.7747 MB / 361.1 MB, free: 1.641 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/0.3287, allocations: 8 kB / 361.1 MB, free: 1.633 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3287, allocations: 4 kB / 361.1 MB, free: 1.629 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3288, allocations: 0 / 361.1 MB, free: 1.629 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.3308, allocations: 1.473 MB / 362.6 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3308, allocations: 0 / 362.6 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/0.3313, allocations: 95.89 kB / 362.7 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003843/0.3317, allocations: 88.69 kB / 362.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.3317, allocations: 15.98 kB / 362.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005993/0.3323, allocations: 0.6382 MB / 363.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3324, allocations: 0 / 363.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.3345, allocations: 1.065 MB / 364.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009083/0.3354, allocations: 497.5 kB / 365 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.3356, allocations: 15.95 kB / 365 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/0.336, allocations: 24.11 kB / 365 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/0.3361, allocations: 32.39 kB / 365.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.3362, allocations: 12 kB / 365.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.005812/0.342, allocations: 3.981 MB / 369 MB, free: 9.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.342, allocations: 0 / 369 MB, free: 9.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001207/0.3433, allocations: 208 kB / 369.2 MB, free: 9.387 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.001054/0.3443, allocations: 405.4 kB / 369.6 MB, free: 8.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009169/0.3453, allocations: 376.8 kB / 370 MB, free: 8.617 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3453, allocations: 4 kB / 370 MB, free: 8.613 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004788/0.3458, allocations: 218.9 kB / 370.2 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.3473, allocations: 187.3 kB / 370.4 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008999/0.3563, allocations: 5.931 MB / 376.3 MB, free: 2.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/0.3583, allocations: 1.81 MB / 378.2 MB, free: 412 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0008655/0.3592, allocations: 279.6 kB / 378.4 MB, free: 128 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.3595, allocations: 91.42 kB / 378.5 MB, free: 40 kB / 302.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3595, allocations: 0 / 378.5 MB, free: 40 kB / 302.1 MB Notification: Performance of Templates: time 0.03453/0.394, allocations: 13.91 MB / 392.4 MB, free: 2.105 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1)