Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007563/0.0007564, allocations: 86.88 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.0007643/0.0007642, 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.611/1.611, 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.0004603/0.0004603, allocations: 10.81 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2449, allocations: 47.59 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004206/0.2492, allocations: 3.718 MB / 330.2 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003168/0.2524, allocations: 1.533 MB / 331.7 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004235/0.2528, allocations: 8.625 kB / 331.8 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.2532, allocations: 94.72 kB / 331.8 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008504/0.254, allocations: 292.4 kB / 332.1 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.2545, allocations: 155.9 kB / 332.3 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.2556, allocations: 0.859 MB / 333.1 MB, free: 12.21 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.256, allocations: 177.8 kB / 333.3 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.2564, allocations: 303.3 kB / 333.6 MB, free: 11.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004866/0.2569, allocations: 358.9 kB / 334 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.251e-05/0.257, allocations: 42.94 kB / 334 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.2574, allocations: 157.9 kB / 334.2 MB, free: 11.65 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.2576, allocations: 138.5 kB / 334.3 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.2578, allocations: 158.5 kB / 334.4 MB, free: 11.44 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009371/0.2587, allocations: 0.8972 MB / 335.3 MB, free: 10.6 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2587, allocations: 0 / 335.3 MB, free: 10.6 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2587, allocations: 4 kB / 335.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.2588, allocations: 0 / 335.3 MB, free: 10.59 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002218/0.261, allocations: 0.974 MB / 336.3 MB, free: 9.566 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.261, allocations: 12.03 kB / 336.3 MB, free: 9.555 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.2612, allocations: 79.06 kB / 336.4 MB, free: 9.477 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007983/0.262, allocations: 0.4941 MB / 336.9 MB, free: 8.941 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.2621, allocations: 74.95 kB / 337 MB, free: 8.863 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.2623, allocations: 67.98 kB / 337 MB, free: 8.797 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.2634, allocations: 0.602 MB / 337.6 MB, free: 8.176 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.2634, allocations: 4 kB / 337.7 MB, free: 8.172 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.2635, allocations: 20 kB / 337.7 MB, free: 8.152 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.2635, allocations: 16 kB / 337.7 MB, free: 8.137 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.2646, allocations: 0.536 MB / 338.2 MB, free: 7.598 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003244/0.2678, allocations: 2.33 MB / 340.6 MB, free: 5.16 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009366/0.2688, allocations: 489.6 kB / 341 MB, free: 4.664 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005224/0.2693, allocations: 274.1 kB / 341.3 MB, free: 4.391 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.2693, allocations: 4 kB / 341.3 MB, free: 4.387 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.2694, allocations: 46.48 kB / 341.3 MB, free: 4.332 MB / 270.1 MB Notification: Performance of pre-optimization done (n=45): time 2.795e-06/0.2694, allocations: 0 / 341.3 MB, free: 4.332 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.01204/0.2814, allocations: 3.684 MB / 345 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.2815, allocations: 93.61 kB / 345.1 MB, free: 456 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000715/0.2823, allocations: 0.5293 MB / 345.7 MB, free: 15.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.2823, allocations: 37.7 kB / 345.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.2825, allocations: 312.2 kB / 346 MB, free: 15.55 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.2827, allocations: 212.9 kB / 346.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.2828, allocations: 12 kB / 346.2 MB, free: 15.33 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.283, allocations: 366.8 kB / 346.6 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/0.2835, allocations: 257.2 kB / 346.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.2841, allocations: 356.4 kB / 347.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005884/0.2847, allocations: 294.1 kB / 347.5 MB, free: 14.04 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2847, allocations: 4 kB / 347.5 MB, free: 14.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001477/0.2862, allocations: 0.753 MB / 348.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2863, allocations: 11.95 kB / 348.2 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.2863, allocations: 4 kB / 348.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.2865, allocations: 32.91 kB / 348.3 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007724/0.2873, allocations: 171.8 kB / 348.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.2884, allocations: 1.329 MB / 349.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.2889, allocations: 48.03 kB / 349.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.289, allocations: 23.98 kB / 349.8 MB, free: 11.52 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003288/0.2893, allocations: 197.7 kB / 350 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.2895, allocations: 67.14 kB / 350.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.2913, allocations: 0.8608 MB / 350.9 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.2913, allocations: 11.98 kB / 351 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2913, allocations: 0 / 351 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.2913, allocations: 0 / 351 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/0.2949, allocations: 1.89 MB / 352.8 MB, free: 8.418 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.2949, allocations: 0 / 352.8 MB, free: 8.418 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.2954, allocations: 115.9 kB / 353 MB, free: 8.305 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00218/0.2976, allocations: 0.4964 MB / 353.5 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.835e-05/0.2977, allocations: 20 kB / 353.5 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004658/0.3023, allocations: 2.952 MB / 356.4 MB, free: 4.699 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3023, allocations: 4.062 kB / 356.4 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/0.3052, allocations: 1.401 MB / 357.8 MB, free: 3.273 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.3055, allocations: 204.3 kB / 358 MB, free: 3.055 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/0.3056, allocations: 15.98 kB / 358.1 MB, free: 3.039 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.3062, allocations: 51.97 kB / 358.1 MB, free: 2.988 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.3063, allocations: 52.44 kB / 358.2 MB, free: 2.938 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.3064, allocations: 16 kB / 358.2 MB, free: 2.922 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004656/0.3068, allocations: 382.9 kB / 358.5 MB, free: 2.551 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3068, allocations: 0 / 358.5 MB, free: 2.551 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007443/0.3076, allocations: 192.1 kB / 358.7 MB, free: 2.363 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003015/0.3079, allocations: 151.1 kB / 358.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.3095, allocations: 0.7564 MB / 359.6 MB, free: 1.438 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3095, allocations: 4.062 kB / 359.6 MB, free: 1.434 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008746/0.3104, allocations: 0.5251 MB / 360.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007293/0.3111, allocations: 98 kB / 360.3 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.314, allocations: 1.822 MB / 362.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.3145, allocations: 0.9007 MB / 363 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003873/0.3149, allocations: 76.8 kB / 363.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.3151, allocations: 47.42 kB / 363.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3151, allocations: 0 / 363.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of Templates: time 0.01811/0.3332, allocations: 9.298 MB / 372.4 MB, free: 4.586 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)