Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001633/0.001634, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001902/0.001903, allocations: 193.5 kB / 16.14 MB, free: 6.707 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.394/1.394, allocations: 205.1 MB / 222 MB, free: 4.957 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.002155/0.002155, allocations: 51.92 kB / 278.1 MB, free: 12.99 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2541, allocations: 46.62 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004604/0.2588, allocations: 3.381 MB / 328.1 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.2611, allocations: 1.378 MB / 329.4 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.2613, allocations: 10.19 kB / 329.5 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.2643, allocations: 1.848 MB / 331.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005095/0.2648, allocations: 150.4 kB / 331.4 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000744/0.2656, allocations: 258.1 kB / 331.7 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.2674, allocations: 1.701 MB / 333.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.2676, allocations: 119.9 kB / 333.5 MB, free: 11.33 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003359/0.268, allocations: 281 kB / 333.8 MB, free: 11.05 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.2684, allocations: 298.8 kB / 334.1 MB, free: 10.76 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.292e-05/0.2685, allocations: 28 kB / 334.1 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.2687, allocations: 63.97 kB / 334.2 MB, free: 10.67 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005505/0.2692, allocations: 0.8257 MB / 335 MB, free: 9.844 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006617/0.2699, allocations: 0.8955 MB / 335.9 MB, free: 8.941 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002076/0.272, allocations: 2.536 MB / 338.4 MB, free: 6.398 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.272, allocations: 4 kB / 338.4 MB, free: 6.395 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.272, allocations: 0 / 338.4 MB, free: 6.395 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.272, allocations: 0 / 338.4 MB, free: 6.395 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.003745/0.2758, allocations: 2.798 MB / 341.2 MB, free: 3.531 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2758, allocations: 12.03 kB / 341.2 MB, free: 3.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.2761, allocations: 277.3 kB / 341.5 MB, free: 3.246 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.2784, allocations: 1.82 MB / 343.3 MB, free: 1.367 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-05/0.2785, allocations: 59.27 kB / 343.4 MB, free: 1.305 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.2787, allocations: 47.92 kB / 343.4 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007847/0.2795, allocations: 399 kB / 343.8 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.2796, allocations: 0 / 343.8 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.416e-05/0.2796, allocations: 12 kB / 343.8 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.2796, allocations: 8 kB / 343.8 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007049/0.2804, allocations: 331.7 kB / 344.2 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004576/0.2849, allocations: 2.911 MB / 347.1 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006467/0.2856, allocations: 318 kB / 347.4 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.2859, allocations: 165.7 kB / 347.6 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.286, allocations: 4 kB / 347.6 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.639e-05/0.286, allocations: 43.09 kB / 347.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 3.727e-06/0.2861, allocations: 0 / 347.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.004775/0.2908, allocations: 2.358 MB / 350 MB, free: 10.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.2909, allocations: 85.55 kB / 350 MB, free: 10.42 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006349/0.2973, allocations: 5.427 MB / 355.5 MB, free: 4.992 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/0.2973, allocations: 29.7 kB / 355.5 MB, free: 4.957 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.2985, allocations: 1.218 MB / 356.7 MB, free: 3.734 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.2986, allocations: 165.5 kB / 356.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.2988, allocations: 90.25 kB / 357 MB, free: 3.477 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2989, allocations: 326 kB / 357.3 MB, free: 3.152 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.2992, allocations: 141 kB / 357.4 MB, free: 3.016 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.2997, allocations: 225.6 kB / 357.6 MB, free: 2.766 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.3004, allocations: 384.3 kB / 358 MB, free: 2.363 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3004, allocations: 0 / 358 MB, free: 2.363 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001149/0.3016, allocations: 0.6878 MB / 358.7 MB, free: 1.664 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3016, allocations: 4 kB / 358.7 MB, free: 1.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3016, allocations: 4 kB / 358.7 MB, free: 1.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3017, allocations: 4 kB / 358.7 MB, free: 1.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005421/0.3022, allocations: 119.8 kB / 358.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.3022, allocations: 4 kB / 358.8 MB, free: 1.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.3026, allocations: 32.11 kB / 358.9 MB, free: 1.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.3027, allocations: 19.98 kB / 358.9 MB, free: 1.48 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.0009842/0.3037, allocations: 0.9192 MB / 359.8 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/0.304, allocations: 272.4 kB / 360.1 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.3054, allocations: 0.7709 MB / 360.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.3054, allocations: 4 kB / 360.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3054, allocations: 7.984 kB / 360.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3054, allocations: 0 / 360.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.307, allocations: 1.473 MB / 362.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.307, allocations: 0 / 362.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.3075, allocations: 91.88 kB / 362.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003122/0.3078, allocations: 96.77 kB / 362.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.3078, allocations: 15.98 kB / 362.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005365/0.3084, allocations: 0.6265 MB / 363.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3084, allocations: 0 / 363.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.31, allocations: 1.065 MB / 364.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006458/0.3107, allocations: 493.5 kB / 364.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.3108, allocations: 15.98 kB / 364.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/0.3113, allocations: 16 kB / 364.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.3114, allocations: 28.39 kB / 364.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.3114, allocations: 19.98 kB / 364.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.004529/0.316, allocations: 3.966 MB / 368.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.316, allocations: 3.938 kB / 368.8 MB, free: 7.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006724/0.3167, allocations: 208 kB / 369 MB, free: 7.273 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.000936/0.3176, allocations: 418.3 kB / 369.4 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008335/0.3184, allocations: 380.8 kB / 369.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3185, allocations: 0 / 369.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.3189, allocations: 214.8 kB / 369.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.3201, allocations: 191.3 kB / 370.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007355/0.3274, allocations: 6.031 MB / 376.2 MB, free: 16 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.3289, allocations: 1.814 MB / 378 MB, free: 14.17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000529/0.3294, allocations: 275.6 kB / 378.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.3297, allocations: 87.42 kB / 378.3 MB, free: 13.81 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3297, allocations: 0 / 378.3 MB, free: 13.81 MB / 318.1 MB Notification: Performance of Templates: time 0.02839/0.3581, allocations: 14.72 MB / 393 MB, free: 15.07 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1)