Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001059/0.001059, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001228/0.001228, allocations: 190 kB / 16.25 MB, free: 6.625 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.352/1.352, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001344/0.001344, allocations: 47.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.241, allocations: 46.62 MB / 324.9 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005337/0.2463, allocations: 4.335 MB / 329.2 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.2493, allocations: 1.616 MB / 330.8 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.2496, allocations: 11.91 kB / 330.8 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.25, allocations: 97.39 kB / 330.9 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007584/0.2508, allocations: 317.8 kB / 331.2 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.2512, allocations: 203.7 kB / 331.4 MB, free: 12.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.2522, allocations: 0.9761 MB / 332.4 MB, free: 12.06 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.2526, allocations: 234.3 kB / 332.6 MB, free: 11.94 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004737/0.2531, allocations: 376.5 kB / 333 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.2535, allocations: 426.7 kB / 333.4 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.2537, allocations: 96.06 kB / 333.5 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.254, allocations: 214.3 kB / 333.7 MB, free: 11.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.2542, allocations: 199.3 kB / 333.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.2545, allocations: 418.1 kB / 334.3 MB, free: 10.62 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.2555, allocations: 1.152 MB / 335.5 MB, free: 9.469 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2556, allocations: 0 / 335.5 MB, free: 9.469 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.2556, allocations: 0 / 335.5 MB, free: 9.469 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.2556, allocations: 7.922 kB / 335.5 MB, free: 9.461 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.002383/0.258, allocations: 1.091 MB / 336.6 MB, free: 8.316 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.258, allocations: 15.89 kB / 336.6 MB, free: 8.301 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.2582, allocations: 76.09 kB / 336.7 MB, free: 8.227 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006812/0.2589, allocations: 0.5067 MB / 337.2 MB, free: 7.684 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-05/0.259, allocations: 67.58 kB / 337.2 MB, free: 7.613 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.2592, allocations: 72.48 kB / 337.3 MB, free: 7.543 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.2602, allocations: 0.6058 MB / 337.9 MB, free: 6.918 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.2603, allocations: 3.984 kB / 337.9 MB, free: 6.914 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/0.2603, allocations: 24 kB / 337.9 MB, free: 6.891 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.2603, allocations: 12 kB / 337.9 MB, free: 6.879 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.2614, allocations: 0.5243 MB / 338.5 MB, free: 6.352 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00328/0.2647, allocations: 2.314 MB / 340.8 MB, free: 3.926 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009676/0.2657, allocations: 469.2 kB / 341.2 MB, free: 3.449 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/0.2662, allocations: 274 kB / 341.5 MB, free: 3.176 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.2663, allocations: 8.234 kB / 341.5 MB, free: 3.168 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.2663, allocations: 34.56 kB / 341.5 MB, free: 3.125 MB / 270.1 MB Notification: Performance of pre-optimization done (n=45): time 1.904e-06/0.2663, allocations: 0 / 341.5 MB, free: 3.125 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.01283/0.2791, allocations: 3.542 MB / 345.1 MB, free: 15.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.2792, allocations: 89.66 kB / 345.2 MB, free: 15.38 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007826/0.28, allocations: 0.537 MB / 345.7 MB, free: 14.83 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.758e-05/0.2801, allocations: 37.7 kB / 345.8 MB, free: 14.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.2803, allocations: 312.2 kB / 346.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.2805, allocations: 209 kB / 346.3 MB, free: 14.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.2808, allocations: 110.2 kB / 346.4 MB, free: 14.16 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2809, allocations: 374.7 kB / 346.7 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.2815, allocations: 253.1 kB / 347 MB, free: 13.54 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/0.2821, allocations: 348.4 kB / 347.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.2833, allocations: 0.602 MB / 347.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2833, allocations: 4 kB / 347.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001441/0.2847, allocations: 0.7412 MB / 348.7 MB, free: 11.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2848, allocations: 4 kB / 348.7 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2848, allocations: 4 kB / 348.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.285, allocations: 32.83 kB / 348.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008123/0.2858, allocations: 175.8 kB / 348.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.287, allocations: 1.42 MB / 350.3 MB, free: 9.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006004/0.2876, allocations: 43.83 kB / 350.3 MB, free: 9.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.2877, allocations: 23.98 kB / 350.4 MB, free: 9.926 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 (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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003184/0.288, allocations: 213.7 kB / 350.6 MB, free: 9.707 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.2882, allocations: 55.34 kB / 350.6 MB, free: 9.652 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.2899, allocations: 0.8412 MB / 351.5 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.2899, allocations: 7.938 kB / 351.5 MB, free: 8.789 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2899, allocations: 4 kB / 351.5 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.2899, allocations: 3.984 kB / 351.5 MB, free: 8.781 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.2935, allocations: 1.843 MB / 353.3 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.2935, allocations: 0 / 353.3 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/0.294, allocations: 107.9 kB / 353.4 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/0.2964, allocations: 476.3 kB / 353.9 MB, free: 6.305 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/0.2964, allocations: 15.94 kB / 353.9 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004772/0.3012, allocations: 3.157 MB / 357.1 MB, free: 3 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.3012, allocations: 3.938 kB / 357.1 MB, free: 2.996 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/0.3041, allocations: 1.37 MB / 358.4 MB, free: 1.602 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.3044, allocations: 212.2 kB / 358.7 MB, free: 1.375 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.245e-05/0.3045, allocations: 20 kB / 358.7 MB, free: 1.355 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005919/0.3051, allocations: 39.97 kB / 358.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.3053, allocations: 48.48 kB / 358.8 MB, free: 1.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.3053, allocations: 19.94 kB / 358.8 MB, free: 1.25 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004543/0.3058, allocations: 390.9 kB / 359.2 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3058, allocations: 0 / 359.2 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007098/0.3065, allocations: 188 kB / 359.3 MB, free: 0.6875 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 (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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003002/0.3068, allocations: 139.1 kB / 359.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.3085, allocations: 0.7676 MB / 360.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3085, allocations: 0 / 360.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000892/0.3094, allocations: 0.5218 MB / 360.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007278/0.3102, allocations: 89.92 kB / 360.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.3129, allocations: 1.758 MB / 362.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.3133, allocations: 0.8965 MB / 363.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00034/0.3137, allocations: 76.8 kB / 363.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.3139, allocations: 47.42 kB / 363.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3139, allocations: 0 / 363.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Templates: time 0.01572/0.3296, allocations: 10.11 MB / 373.7 MB, free: 2.18 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)