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.001228/0.001228, allocations: 106.6 kB / 17.06 MB, free: 5.832 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.001007/0.001007, allocations: 195.9 kB / 18.01 MB, free: 4.961 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.316/1.316, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001122/0.001122, allocations: 48.3 kB / 327.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09961/0.1007, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004707/0.1055, allocations: 3.344 MB / 377.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1857/0.2912, allocations: 1.382 MB / 379.2 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004468/0.2917, allocations: 8.75 kB / 379.2 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003544/0.2953, allocations: 2.663 MB / 381.9 MB, free: 9.641 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005837/0.2959, allocations: 164.4 kB / 382 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006972/0.2966, allocations: 287.9 kB / 382.3 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002224/0.2988, allocations: 1.797 MB / 384.1 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.2991, allocations: 134.3 kB / 384.3 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000461/0.2995, allocations: 310.7 kB / 384.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003926/0.2999, allocations: 330.7 kB / 384.9 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.3001, allocations: 43.59 kB / 384.9 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.3003, allocations: 72.08 kB / 385 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006442/0.3009, allocations: 0.8429 MB / 385.8 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006344/0.3016, allocations: 0.9422 MB / 386.8 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.3042, allocations: 2.617 MB / 389.4 MB, free: 8.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3042, allocations: 3.938 kB / 389.4 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3042, allocations: 2.531 kB / 389.4 MB, free: 8.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.894e-05/0.3042, allocations: 0.8125 kB / 389.4 MB, free: 8.184 MB / 318.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.004102/0.3083, allocations: 2.894 MB / 392.3 MB, free: 6.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.3084, allocations: 13.45 kB / 392.3 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004376/0.3089, allocations: 293.7 kB / 392.6 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.3115, allocations: 1.848 MB / 394.4 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.776e-05/0.3116, allocations: 62.92 kB / 394.5 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.3118, allocations: 53.38 kB / 394.6 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007145/0.3125, allocations: 394.7 kB / 394.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.3126, allocations: 0 / 394.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.3126, allocations: 19.69 kB / 395 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.3126, allocations: 8.25 kB / 395 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006629/0.3133, allocations: 335.6 kB / 395.3 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/0.3173, allocations: 2.9 MB / 398.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.318, allocations: 317.4 kB / 398.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.3183, allocations: 162.5 kB / 398.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.3183, allocations: 7.422 kB / 398.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.3184, allocations: 37.62 kB / 398.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/0.3184, allocations: 4 kB / 398.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.004654/0.323, allocations: 2.432 MB / 401.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.3231, allocations: 87.02 kB / 401.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00699/0.3301, allocations: 5.432 MB / 406.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.215e-05/0.3302, allocations: 35.08 kB / 406.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001179/0.3314, allocations: 1.212 MB / 407.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.3315, allocations: 177.9 kB / 408.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.3317, allocations: 86.2 kB / 408.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3318, allocations: 337.8 kB / 408.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.3321, allocations: 137.1 kB / 408.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.3325, allocations: 217.7 kB / 408.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007059/0.3333, allocations: 388.3 kB / 409.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3333, allocations: 4 kB / 409.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001413/0.3347, allocations: 0.6895 MB / 409.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3347, allocations: 4 kB / 409.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.3348, allocations: 4 kB / 409.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.3348, allocations: 8.188 kB / 409.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005356/0.3353, allocations: 123.9 kB / 410.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.3354, allocations: 4 kB / 410.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005259/0.3359, allocations: 19.95 kB / 410.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.3359, allocations: 27.86 kB / 410.1 MB, free: 10.88 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00119/0.3371, allocations: 0.9192 MB / 411 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003813/0.3375, allocations: 278.1 kB / 411.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.338, allocations: 340.2 kB / 411.6 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.338, allocations: 8 kB / 411.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.338, allocations: 0 / 411.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3381, allocations: 3.984 kB / 411.6 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.3399, allocations: 1.472 MB / 413.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.34, allocations: 0 / 413.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.3404, allocations: 95.88 kB / 413.2 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003433/0.3408, allocations: 92.69 kB / 413.3 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.3408, allocations: 15.92 kB / 413.3 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005811/0.3414, allocations: 0.6299 MB / 413.9 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3414, allocations: 4.031 kB / 413.9 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.3435, allocations: 1.055 MB / 415 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007642/0.3443, allocations: 0.4952 MB / 415.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.3445, allocations: 15.88 kB / 415.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/0.345, allocations: 19.98 kB / 415.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.3451, allocations: 32.39 kB / 415.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.3452, allocations: 16 kB / 415.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.005053/0.3502, allocations: 3.974 MB / 419.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3502, allocations: 0 / 419.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008586/0.3511, allocations: 200 kB / 419.7 MB, free: 1.125 MB / 334.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 (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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001017/0.3521, allocations: 419.9 kB / 420.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008491/0.353, allocations: 384.9 kB / 420.5 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.353, allocations: 0 / 420.5 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.3535, allocations: 210.4 kB / 420.7 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.3548, allocations: 203.7 kB / 420.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007284/0.3621, allocations: 5.478 MB / 426.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/0.3637, allocations: 1.817 MB / 428.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007164/0.3644, allocations: 275.5 kB / 428.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.3647, allocations: 95.42 kB / 428.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of SimCode: time 5.42e-07/0.3647, allocations: 0 / 428.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of Templates: time 0.03278/0.3975, allocations: 15.47 MB / 444.1 MB, free: 8.75 MB / 366.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)