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.001387/0.001387, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001544/0.001544, allocations: 195 kB / 18 MB, free: 5.105 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.37/1.37, 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.001341/0.001341, allocations: 43.94 kB / 327.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.09264, allocations: 46.62 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005381/0.09807, allocations: 3.333 MB / 377.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2007/0.2988, allocations: 1.393 MB / 379.2 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000492/0.2993, allocations: 5.844 kB / 379.2 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003771/0.3031, allocations: 2.66 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.0006712/0.3038, allocations: 172.2 kB / 382 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.3046, allocations: 277.3 kB / 382.3 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002451/0.3071, allocations: 1.801 MB / 384.1 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.3073, allocations: 136.5 kB / 384.3 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000462/0.3078, allocations: 306.2 kB / 384.5 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.3082, allocations: 330.1 kB / 384.9 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.021e-05/0.3083, allocations: 44.12 kB / 384.9 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.3085, allocations: 76.81 kB / 385 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006619/0.3092, allocations: 0.843 MB / 385.8 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005923/0.3098, allocations: 0.9392 MB / 386.8 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002817/0.3126, allocations: 2.614 MB / 389.4 MB, free: 8.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3126, allocations: 4 kB / 389.4 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3126, allocations: 0 / 389.4 MB, free: 8.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.983e-05/0.3127, allocations: 0 / 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.004659/0.3174, allocations: 2.794 MB / 392.2 MB, free: 6.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3174, allocations: 12.55 kB / 392.2 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003911/0.3178, allocations: 277.6 kB / 392.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/0.3206, allocations: 1.824 MB / 394.3 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.4e-05/0.3207, allocations: 65.45 kB / 394.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.3209, allocations: 48.77 kB / 394.4 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/0.3216, allocations: 395.5 kB / 394.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.3216, allocations: 1.375 kB / 394.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.3217, allocations: 14.75 kB / 394.8 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.3217, allocations: 13.56 kB / 394.8 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.3223, allocations: 328.7 kB / 395.1 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/0.3268, allocations: 2.894 MB / 398 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.3274, allocations: 317.8 kB / 398.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.3278, allocations: 158.6 kB / 398.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.3278, allocations: 19 kB / 398.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.3278, allocations: 32.94 kB / 398.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.3278, allocations: 4 kB / 398.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.004737/0.3326, allocations: 2.358 MB / 400.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.3327, allocations: 91.14 kB / 401 MB, free: 0.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007167/0.3398, allocations: 5.437 MB / 406.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.208e-05/0.34, allocations: 39.02 kB / 406.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.341, allocations: 1.207 MB / 407.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.3412, allocations: 168 kB / 407.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.3413, allocations: 86.16 kB / 407.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3414, allocations: 333.9 kB / 408.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.3418, allocations: 137.1 kB / 408.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.3421, allocations: 217.7 kB / 408.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006703/0.3428, allocations: 381.9 kB / 409 MB, free: 12.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3428, allocations: 4 kB / 409 MB, free: 12.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001362/0.3442, allocations: 0.6801 MB / 409.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3442, allocations: 4 kB / 409.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3442, allocations: 4 kB / 409.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.3443, allocations: 4.25 kB / 409.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.3448, allocations: 123.8 kB / 409.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.3448, allocations: 8.688 kB / 409.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005433/0.3454, allocations: 19.91 kB / 409.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.3454, allocations: 19.94 kB / 409.8 MB, free: 11.14 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.001212/0.3466, allocations: 0.9192 MB / 410.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003335/0.347, allocations: 264.5 kB / 411 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004311/0.3474, allocations: 344.1 kB / 411.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.3474, allocations: 8 kB / 411.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.3474, allocations: 0 / 411.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3475, allocations: 7.984 kB / 411.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.3492, allocations: 1.469 MB / 412.8 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3492, allocations: 0 / 412.8 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/0.3497, allocations: 95.88 kB / 412.9 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003194/0.35, allocations: 88.8 kB / 413 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.35, allocations: 8 kB / 413 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005589/0.3506, allocations: 0.6441 MB / 413.7 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3506, allocations: 0 / 413.7 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.3521, allocations: 1.034 MB / 414.7 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009289/0.353, allocations: 497.5 kB / 415.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.3532, allocations: 15.5 kB / 415.2 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/0.3537, allocations: 19.98 kB / 415.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.3538, allocations: 32.39 kB / 415.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.3538, allocations: 16 kB / 415.3 MB, free: 5.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00473/0.3586, allocations: 3.97 MB / 419.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3586, allocations: 0 / 419.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008311/0.3594, allocations: 208 kB / 419.4 MB, free: 1.418 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.0009452/0.3604, allocations: 422.5 kB / 419.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008013/0.3612, allocations: 384.8 kB / 420.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3612, allocations: 0 / 420.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004371/0.3616, allocations: 210.4 kB / 420.4 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.3628, allocations: 192.2 kB / 420.6 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00696/0.3697, allocations: 5.408 MB / 426 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.3712, allocations: 1.821 MB / 427.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006178/0.3719, allocations: 275.5 kB / 428.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.3721, allocations: 95.42 kB / 428.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3721, allocations: 0 / 428.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of Templates: time 0.03209/0.4042, allocations: 15.89 MB / 444.1 MB, free: 8.703 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)