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.001295/0.001295, allocations: 114.2 kB / 16.63 MB, free: 6.816 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.001379/0.001379, allocations: 189.8 kB / 17.55 MB, free: 5.93 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.362/1.362, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001305/0.001305, allocations: 55.92 kB / 279.5 MB, free: 3.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08977/0.09109, allocations: 46.63 MB / 326.2 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004952/0.09608, allocations: 3.371 MB / 329.5 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.09814, allocations: 1.377 MB / 330.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.09835, allocations: 4 kB / 330.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.1003, allocations: 1.813 MB / 332.7 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.1007, allocations: 147.1 kB / 332.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.1013, allocations: 259.6 kB / 333.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.1029, allocations: 1.794 MB / 334.9 MB, free: 11.97 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.1031, allocations: 127.3 kB / 335 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.1035, allocations: 313 kB / 335.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.1038, allocations: 330.8 kB / 335.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.496e-05/0.1039, allocations: 44 kB / 335.7 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1041, allocations: 71.98 kB / 335.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005409/0.1047, allocations: 0.853 MB / 336.6 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000732/0.1054, allocations: 0.9307 MB / 337.6 MB, free: 9.301 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.1073, allocations: 2.577 MB / 340.1 MB, free: 6.715 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1073, allocations: 0 / 340.1 MB, free: 6.715 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1073, allocations: 0 / 340.1 MB, free: 6.715 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.1073, allocations: 0 / 340.1 MB, free: 6.715 MB / 286.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.003421/0.1108, allocations: 2.794 MB / 342.9 MB, free: 3.855 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1108, allocations: 15.89 kB / 342.9 MB, free: 3.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/0.1111, allocations: 285.3 kB / 343.2 MB, free: 3.559 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.1131, allocations: 1.816 MB / 345 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.365e-05/0.1132, allocations: 59.27 kB / 345.1 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.1134, allocations: 55.86 kB / 345.2 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.1141, allocations: 395 kB / 345.5 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1141, allocations: 0 / 345.5 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.1142, allocations: 16 kB / 345.6 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.1142, allocations: 8 kB / 345.6 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006646/0.1149, allocations: 339.7 kB / 345.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.1185, allocations: 2.899 MB / 348.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.1191, allocations: 313 kB / 349.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.1195, allocations: 165.6 kB / 349.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.1195, allocations: 7.984 kB / 349.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1195, allocations: 47.08 kB / 349.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.763e-06/0.1195, allocations: 0 / 349.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.00453/0.1241, allocations: 2.367 MB / 351.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.1242, allocations: 89.48 kB / 351.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005435/0.1296, allocations: 5.431 MB / 357.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.1297, allocations: 33.7 kB / 357.2 MB, free: 5.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009369/0.1306, allocations: 1.203 MB / 358.4 MB, free: 4.039 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.1308, allocations: 169.5 kB / 358.6 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.1309, allocations: 94.27 kB / 358.7 MB, free: 3.773 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.131, allocations: 322 kB / 359 MB, free: 3.453 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.1313, allocations: 141 kB / 359.1 MB, free: 3.316 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.1317, allocations: 229.6 kB / 359.4 MB, free: 3.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.1324, allocations: 376.3 kB / 359.7 MB, free: 2.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1324, allocations: 7.938 kB / 359.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001054/0.1334, allocations: 0.6841 MB / 360.4 MB, free: 1.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.1335, allocations: 4 kB / 360.4 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1335, allocations: 4 kB / 360.4 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1335, allocations: 4 kB / 360.4 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.134, allocations: 115.9 kB / 360.6 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.134, allocations: 7.938 kB / 360.6 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.1344, allocations: 23.92 kB / 360.6 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.1345, allocations: 16 kB / 360.6 MB, free: 1.793 MB / 302.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.0008896/0.1354, allocations: 0.9154 MB / 361.5 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.1356, allocations: 280.4 kB / 361.8 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.1371, allocations: 0.7708 MB / 362.6 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.1371, allocations: 8 kB / 362.6 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1371, allocations: 4 kB / 362.6 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.1372, allocations: 3.984 kB / 362.6 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.1386, allocations: 1.473 MB / 364 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1386, allocations: 4 kB / 364.1 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.1391, allocations: 95.88 kB / 364.1 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003211/0.1394, allocations: 80.81 kB / 364.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.1395, allocations: 15.98 kB / 364.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005385/0.14, allocations: 0.6382 MB / 364.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.14, allocations: 3.938 kB / 364.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.1415, allocations: 1.061 MB / 365.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006332/0.1422, allocations: 493.6 kB / 366.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.1424, allocations: 12 kB / 366.4 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.1428, allocations: 19.98 kB / 366.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.1429, allocations: 24.41 kB / 366.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.143, allocations: 19.98 kB / 366.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.004238/0.1472, allocations: 3.966 MB / 370.5 MB, free: 7.789 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1472, allocations: 3.938 kB / 370.5 MB, free: 7.785 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007383/0.148, allocations: 212 kB / 370.7 MB, free: 7.578 MB / 318.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.0009606/0.1489, allocations: 413.1 kB / 371.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009216/0.1499, allocations: 408.8 kB / 371.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1499, allocations: 0 / 371.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004472/0.1503, allocations: 218.9 kB / 371.7 MB, free: 6.562 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.1514, allocations: 195.2 kB / 371.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007131/0.1585, allocations: 6.029 MB / 377.9 MB, free: 304 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.137/0.2955, allocations: 1.809 MB / 379.7 MB, free: 52.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008684/0.2964, allocations: 271.8 kB / 380 MB, free: 52.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005/0.2969, allocations: 92.91 kB / 380.1 MB, free: 52.34 MB / 318.1 MB Notification: Performance of SimCode: time 8.92e-07/0.297, allocations: 0 / 380.1 MB, free: 52.34 MB / 318.1 MB Notification: Performance of Templates: time 0.03365/0.3306, allocations: 15.21 MB / 395.3 MB, free: 47.23 MB / 318.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)