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.001044/0.001044, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001225/0.001225, allocations: 177.3 kB / 15.95 MB, free: 216 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.616/1.616, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005068/0.000507, allocations: 16 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2796, allocations: 47.58 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004505/0.2841, allocations: 2.722 MB / 329.2 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002979/0.2871, allocations: 1.311 MB / 330.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004865/0.2877, allocations: 4.344 kB / 330.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004623/0.2923, allocations: 2.114 MB / 332.6 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.2935, allocations: 165.6 kB / 332.8 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.2946, allocations: 239.9 kB / 333 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003333/0.2979, allocations: 1.455 MB / 334.5 MB, free: 11.51 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.2983, allocations: 110.6 kB / 334.6 MB, free: 11.39 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005417/0.2988, allocations: 287.1 kB / 334.8 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/0.2993, allocations: 307 kB / 335.1 MB, free: 10.81 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.2994, allocations: 20 kB / 335.2 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.2996, allocations: 40 kB / 335.2 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006887/0.3003, allocations: 0.8298 MB / 336 MB, free: 9.918 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.3007, allocations: 380.3 kB / 336.4 MB, free: 9.539 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.3029, allocations: 2.079 MB / 338.5 MB, free: 7.457 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3029, allocations: 4 kB / 338.5 MB, free: 7.453 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.3029, allocations: 0 / 338.5 MB, free: 7.453 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.456e-05/0.303, allocations: 3.938 kB / 338.5 MB, free: 7.449 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.004294/0.3073, allocations: 2.442 MB / 340.9 MB, free: 4.945 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.3074, allocations: 12.03 kB / 340.9 MB, free: 4.934 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004624/0.3078, allocations: 276.3 kB / 341.2 MB, free: 4.66 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00314/0.311, allocations: 1.685 MB / 342.9 MB, free: 2.918 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.293e-05/0.3111, allocations: 62.69 kB / 343 MB, free: 2.852 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.3113, allocations: 47.98 kB / 343 MB, free: 2.805 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007496/0.3121, allocations: 387 kB / 343.4 MB, free: 2.414 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3121, allocations: 0 / 343.4 MB, free: 2.414 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.3121, allocations: 19.94 kB / 343.4 MB, free: 2.395 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3122, allocations: 8 kB / 343.4 MB, free: 2.387 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007161/0.3129, allocations: 335.8 kB / 343.7 MB, free: 2.059 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005189/0.3181, allocations: 2.915 MB / 346.7 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006589/0.3188, allocations: 318.1 kB / 347 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.3189, allocations: 8 kB / 347 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/0.3189, allocations: 50.48 kB / 347 MB, free: 14.65 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 3.476e-06/0.3189, allocations: 0 / 347 MB, free: 14.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.005464/0.3244, allocations: 2.371 MB / 349.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.3245, allocations: 81.55 kB / 349.5 MB, free: 12.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00938/0.3339, allocations: 5.439 MB / 354.9 MB, free: 6.672 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.3341, allocations: 37.7 kB / 354.9 MB, free: 6.629 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.3354, allocations: 1.207 MB / 356.2 MB, free: 5.418 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.3356, allocations: 173.6 kB / 356.3 MB, free: 5.246 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.3357, allocations: 11.94 kB / 356.3 MB, free: 5.234 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3358, allocations: 325.9 kB / 356.7 MB, free: 4.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.3362, allocations: 137 kB / 356.8 MB, free: 4.773 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.3366, allocations: 229.7 kB / 357 MB, free: 4.523 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.337, allocations: 160.8 kB / 357.2 MB, free: 4.363 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.337, allocations: 4 kB / 357.2 MB, free: 4.359 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00165/0.3386, allocations: 0.6762 MB / 357.9 MB, free: 3.676 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.3387, allocations: 8.188 kB / 357.9 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.3387, allocations: 8 kB / 357.9 MB, free: 3.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.3387, allocations: 4 kB / 357.9 MB, free: 3.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/0.3393, allocations: 127.9 kB / 358 MB, free: 3.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.3393, allocations: 7.938 kB / 358 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/0.3399, allocations: 19.95 kB / 358 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.34, allocations: 16 kB / 358 MB, free: 3.488 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001578/0.3416, allocations: 0.9231 MB / 359 MB, free: 2.555 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005598/0.3421, allocations: 272.4 kB / 359.2 MB, free: 2.285 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.3438, allocations: 0.7708 MB / 360 MB, free: 1.504 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.3439, allocations: 8 kB / 360 MB, free: 1.496 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3439, allocations: 7.938 kB / 360 MB, free: 1.488 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3439, allocations: 3.984 kB / 360 MB, free: 1.484 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.3462, allocations: 1.465 MB / 361.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.3463, allocations: 0 / 361.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/0.3468, allocations: 95.88 kB / 361.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000374/0.3472, allocations: 88.66 kB / 361.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.3472, allocations: 16 kB / 361.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006109/0.3478, allocations: 0.6305 MB / 362.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3479, allocations: 0 / 362.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.3499, allocations: 1.09 MB / 363.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.3511, allocations: 0.4936 MB / 363.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/0.3513, allocations: 15.95 kB / 363.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004838/0.3518, allocations: 19.98 kB / 363.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.3519, allocations: 28.41 kB / 364 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.3519, allocations: 19.92 kB / 364 MB, free: 13.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.005819/0.3578, allocations: 3.981 MB / 368 MB, free: 9.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.9e-07/0.3578, allocations: 0 / 368 MB, free: 9.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001192/0.359, allocations: 208 kB / 368.2 MB, free: 9.219 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 (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.000967/0.36, allocations: 409.5 kB / 368.6 MB, free: 8.812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009088/0.3609, allocations: 376.9 kB / 368.9 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3609, allocations: 0.5 kB / 368.9 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004621/0.3614, allocations: 222.3 kB / 369.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.3626, allocations: 179.3 kB / 369.3 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008925/0.3715, allocations: 5.927 MB / 375.2 MB, free: 2.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/0.3733, allocations: 1.861 MB / 377.1 MB, free: 200 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0007959/0.3741, allocations: 275.6 kB / 377.4 MB, free: 15.92 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.3744, allocations: 91.42 kB / 377.5 MB, free: 15.83 MB / 318.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3744, allocations: 4 kB / 377.5 MB, free: 15.83 MB / 318.1 MB Notification: Performance of Templates: time 0.02933/0.4038, allocations: 13.9 MB / 391.4 MB, free: 1.906 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: