Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0008141/0.0008143, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005877/0.005877, allocations: 174.2 kB / 16.27 MB, free: 6.613 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.353/1.353, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004521/0.0004522, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2637, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.00397/0.2677, allocations: 2.996 MB / 330 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.2704, allocations: 1.359 MB / 331.4 MB, free: 14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004337/0.2708, allocations: 9.594 kB / 331.4 MB, free: 14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004348/0.2752, allocations: 1.855 MB / 333.3 MB, free: 13.13 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.2765, allocations: 143.1 kB / 333.4 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.2779, allocations: 263.5 kB / 333.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003295/0.2812, allocations: 1.69 MB / 335.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.2815, allocations: 115.9 kB / 335.5 MB, free: 10.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005946/0.2821, allocations: 281 kB / 335.7 MB, free: 10.64 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.2827, allocations: 294.8 kB / 336 MB, free: 10.35 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.2828, allocations: 24 kB / 336 MB, free: 10.33 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.283, allocations: 47.98 kB / 336.1 MB, free: 10.28 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006474/0.2837, allocations: 0.8257 MB / 336.9 MB, free: 9.453 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008769/0.2846, allocations: 0.9129 MB / 337.8 MB, free: 8.527 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.2865, allocations: 2.484 MB / 340.3 MB, free: 6.035 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2865, allocations: 4 kB / 340.3 MB, free: 6.031 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2865, allocations: 0 / 340.3 MB, free: 6.031 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.2865, allocations: 0 / 340.3 MB, free: 6.031 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.003114/0.2896, allocations: 2.411 MB / 342.7 MB, free: 3.559 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2897, allocations: 12.03 kB / 342.7 MB, free: 3.547 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.29, allocations: 277.4 kB / 343 MB, free: 3.273 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.2921, allocations: 1.82 MB / 344.8 MB, free: 1.395 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.752e-05/0.2922, allocations: 59.27 kB / 344.9 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.2924, allocations: 47.92 kB / 344.9 MB, free: 1.285 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007539/0.2931, allocations: 410.9 kB / 345.3 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.2932, allocations: 0 / 345.3 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.2932, allocations: 12 kB / 345.4 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.2932, allocations: 8 kB / 345.4 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/0.294, allocations: 339.7 kB / 345.7 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00399/0.298, allocations: 2.903 MB / 348.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.2986, allocations: 330 kB / 348.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.299, allocations: 161.7 kB / 349.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-05/0.299, allocations: 7.984 kB / 349.1 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.2991, allocations: 47.09 kB / 349.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 2.896e-06/0.2991, allocations: 0 / 349.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.004685/0.3038, allocations: 2.377 MB / 351.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.3039, allocations: 81.55 kB / 351.6 MB, free: 10.4 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006298/0.3102, allocations: 5.427 MB / 357 MB, free: 4.973 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.623e-05/0.3103, allocations: 33.7 kB / 357 MB, free: 4.934 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.3113, allocations: 1.214 MB / 358.3 MB, free: 3.715 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.3115, allocations: 161.6 kB / 358.4 MB, free: 3.555 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.54e-05/0.3116, allocations: 49.69 kB / 358.5 MB, free: 3.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.3117, allocations: 322 kB / 358.8 MB, free: 3.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.312, allocations: 145 kB / 358.9 MB, free: 3.039 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.3124, allocations: 225.6 kB / 359.1 MB, free: 2.789 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/0.3131, allocations: 384.4 kB / 359.5 MB, free: 2.387 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3131, allocations: 3.938 kB / 359.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001321/0.3145, allocations: 0.684 MB / 360.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3145, allocations: 8 kB / 360.2 MB, free: 1.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3145, allocations: 0 / 360.2 MB, free: 1.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.3145, allocations: 4 kB / 360.2 MB, free: 1.676 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.3151, allocations: 124.1 kB / 360.3 MB, free: 1.555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.3151, allocations: 11.92 kB / 360.4 MB, free: 1.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.3155, allocations: 23.88 kB / 360.4 MB, free: 1.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.3156, allocations: 19.94 kB / 360.4 MB, free: 1.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001073/0.3167, allocations: 0.9115 MB / 361.3 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.317, allocations: 268.4 kB / 361.6 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.3184, allocations: 0.7903 MB / 362.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3184, allocations: 4 kB / 362.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3184, allocations: 0 / 362.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3184, allocations: 7.984 kB / 362.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.32, allocations: 1.473 MB / 363.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.32, allocations: 4 kB / 363.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/0.3205, allocations: 95.88 kB / 363.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003324/0.3208, allocations: 88.73 kB / 364 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.3209, allocations: 8 kB / 364 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005388/0.3214, allocations: 0.6421 MB / 364.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3214, allocations: 0 / 364.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.3229, allocations: 1.073 MB / 365.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006166/0.3236, allocations: 497.6 kB / 366.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.3237, allocations: 8 kB / 366.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/0.3242, allocations: 19.98 kB / 366.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.3243, allocations: 32.39 kB / 366.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.3243, allocations: 19.98 kB / 366.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.004508/0.3289, allocations: 3.97 MB / 370.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3289, allocations: 0 / 370.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008254/0.3297, allocations: 204 kB / 370.5 MB, free: 7.27 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 (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.001013/0.3307, allocations: 413.5 kB / 370.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008228/0.3316, allocations: 388.8 kB / 371.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3316, allocations: 0 / 371.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.332, allocations: 218.9 kB / 371.5 MB, free: 6.266 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.3333, allocations: 195.2 kB / 371.7 MB, free: 6.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007548/0.3408, allocations: 6.155 MB / 377.8 MB, free: 15.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/0.3424, allocations: 1.814 MB / 379.6 MB, free: 14.03 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005828/0.343, allocations: 279.6 kB / 379.9 MB, free: 13.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.3432, allocations: 87.44 kB / 380 MB, free: 13.67 MB / 318.1 MB Notification: Performance of SimCode: time 2.364e-06/0.3432, allocations: 0 / 380 MB, free: 13.67 MB / 318.1 MB Notification: Performance of Templates: time 0.02759/0.3708, allocations: 14.19 MB / 394.2 MB, free: 15.46 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1)