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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009949/0.0009948, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.405/1.405, allocations: 194.3 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001797/0.001797, allocations: 124.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.724e-05/2.735e-05, allocations: 0 / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08793/0.08797, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3332/0.4212, allocations: 78.91 MB / 428.4 MB, free: 10.19 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.4215, allocations: 85.34 kB / 428.4 MB, free: 10.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0732/0.4947, allocations: 38.53 MB / 467 MB, free: 13.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4948, allocations: 0 / 467 MB, free: 13.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001363/0.4949, allocations: 44.11 kB / 467 MB, free: 13.03 MB / 330.7 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.002895/0.4978, allocations: 1.975 MB / 469 MB, free: 11.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4979, allocations: 12.03 kB / 469 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.4983, allocations: 284.3 kB / 469.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/0.5013, allocations: 1.868 MB / 471.1 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.938e-05/0.5014, allocations: 65.92 kB / 471.2 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.5016, allocations: 51.47 kB / 471.3 MB, free: 9.117 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000625/0.5022, allocations: 370.8 kB / 471.6 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.5022, allocations: 3.984 kB / 471.6 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.5023, allocations: 15.5 kB / 471.6 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.5023, allocations: 8 kB / 471.6 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000492/0.5028, allocations: 298.7 kB / 471.9 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004758/0.5076, allocations: 3.088 MB / 475 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/0.5081, allocations: 299.5 kB / 475.3 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.5084, allocations: 152.5 kB / 475.5 MB, free: 5.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/0.5084, allocations: 7.984 kB / 475.5 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.5085, allocations: 41.75 kB / 475.5 MB, free: 5.812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 3.858e-06/0.5085, allocations: 3.938 kB / 475.5 MB, free: 5.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.004606/0.5131, allocations: 2.236 MB / 477.8 MB, free: 3.754 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.5132, allocations: 85.5 kB / 477.8 MB, free: 3.652 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009741/0.5229, allocations: 4.832 MB / 482.7 MB, free: 108 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.5231, allocations: 36.64 kB / 482.7 MB, free: 72 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.5242, allocations: 1.153 MB / 483.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.5245, allocations: 164.4 kB / 484 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.5245, allocations: 16.36 kB / 484 MB, free: 15.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5246, allocations: 326.5 kB / 484.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.5249, allocations: 138.1 kB / 484.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.5253, allocations: 216.7 kB / 484.7 MB, free: 14.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.5256, allocations: 222.7 kB / 484.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5256, allocations: 4 kB / 484.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001785/0.5274, allocations: 0.8005 MB / 485.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.5275, allocations: 55.41 kB / 485.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5275, allocations: 4 kB / 485.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/0.5282, allocations: 150.1 kB / 485.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.5286, allocations: 103.8 kB / 486 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008339/0.5295, allocations: 0.7552 MB / 486.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005975/0.5301, allocations: 31.97 kB / 486.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.5301, allocations: 19.98 kB / 486.8 MB, free: 12.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * 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 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.5303, allocations: 136.8 kB / 487 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/0.5307, allocations: 276.5 kB / 487.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.5321, allocations: 0.7586 MB / 488 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5322, allocations: 8 kB / 488 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5322, allocations: 0 / 488 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.5322, allocations: 7.984 kB / 488 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.5342, allocations: 1.695 MB / 489.7 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5342, allocations: 0 / 489.7 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.5347, allocations: 99.88 kB / 489.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002508/0.5349, allocations: 88.81 kB / 489.9 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.535, allocations: 15.98 kB / 489.9 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005311/0.5355, allocations: 0.646 MB / 490.6 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5355, allocations: 7.984 kB / 490.6 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.5369, allocations: 1.059 MB / 491.6 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.5382, allocations: 0.6694 MB / 492.3 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.5384, allocations: 16 kB / 492.3 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/0.539, allocations: 31.98 kB / 492.3 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.5391, allocations: 28.39 kB / 492.4 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.5391, allocations: 16.12 kB / 492.4 MB, free: 6.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00544/0.5445, allocations: 3.784 MB / 496.2 MB, free: 3.203 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5446, allocations: 0 / 496.2 MB, free: 3.203 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001224/0.5458, allocations: 339.9 kB / 496.5 MB, free: 2.871 MB / 346.7 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 () * 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 (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 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009675/0.5468, allocations: 366.5 kB / 496.9 MB, free: 2.508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009678/0.5477, allocations: 492.3 kB / 497.3 MB, free: 2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5478, allocations: 0 / 497.3 MB, free: 2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.5482, allocations: 202.4 kB / 497.5 MB, free: 1.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.5492, allocations: 175.5 kB / 497.7 MB, free: 1.625 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008002/0.5572, allocations: 4.833 MB / 0.4908 GB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/0.559, allocations: 1.857 MB / 0.4926 GB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009531/0.56, allocations: 371.5 kB / 0.4929 GB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004062/0.5604, allocations: 131.4 kB / 0.4931 GB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5604, allocations: 0 / 0.4931 GB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.0465/0.6069, allocations: 20.43 MB / 0.513 GB, free: 5.867 MB / 378.7 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)