Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00101/0.001014, 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.001112/0.001111, allocations: 177.3 kB / 15.94 MB, free: 228 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.495/1.495, 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.0004579/0.000458, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2532, allocations: 47.58 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003902/0.2571, allocations: 2.718 MB / 329.2 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002829/0.26, allocations: 1.317 MB / 330.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004116/0.2604, allocations: 5.688 kB / 330.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003984/0.2644, allocations: 2.102 MB / 332.6 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007684/0.2652, allocations: 173.8 kB / 332.8 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007839/0.266, allocations: 237.5 kB / 333 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002308/0.2683, allocations: 1.467 MB / 334.5 MB, free: 11.49 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.2686, allocations: 110.7 kB / 334.6 MB, free: 11.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005413/0.2692, allocations: 287.1 kB / 334.9 MB, free: 11.09 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005208/0.2697, allocations: 299 kB / 335.1 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.2698, allocations: 24 kB / 335.2 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.27, allocations: 36 kB / 335.2 MB, free: 10.74 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006748/0.2707, allocations: 0.8376 MB / 336 MB, free: 9.898 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.2712, allocations: 384.3 kB / 336.4 MB, free: 9.516 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.2732, allocations: 2.079 MB / 338.5 MB, free: 7.434 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2732, allocations: 0 / 338.5 MB, free: 7.434 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2732, allocations: 3.938 kB / 338.5 MB, free: 7.43 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.547e-05/0.2733, allocations: 4 kB / 338.5 MB, free: 7.426 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.0044/0.2777, allocations: 2.438 MB / 340.9 MB, free: 4.926 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2777, allocations: 8.031 kB / 340.9 MB, free: 4.918 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/0.2781, allocations: 280.3 kB / 341.2 MB, free: 4.641 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.2807, allocations: 1.689 MB / 342.9 MB, free: 2.895 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/0.2808, allocations: 58.69 kB / 343 MB, free: 2.832 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.281, allocations: 40 kB / 343 MB, free: 2.793 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007735/0.2817, allocations: 395 kB / 343.4 MB, free: 2.395 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2818, allocations: 3.938 kB / 343.4 MB, free: 2.391 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.2818, allocations: 16 kB / 343.4 MB, free: 2.375 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.2818, allocations: 8 kB / 343.4 MB, free: 2.367 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006943/0.2825, allocations: 331.8 kB / 343.7 MB, free: 2.043 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004232/0.2868, allocations: 2.918 MB / 346.7 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005927/0.2874, allocations: 318.1 kB / 347 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.2874, allocations: 4 kB / 347 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2875, allocations: 38.5 kB / 347 MB, free: 14.65 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 2.564e-06/0.2875, allocations: 0 / 347 MB, free: 14.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.004349/0.2919, allocations: 2.379 MB / 349.4 MB, free: 12.2 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.2919, allocations: 85.55 kB / 349.5 MB, free: 12.1 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0058/0.2977, allocations: 5.446 MB / 354.9 MB, free: 6.648 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.2978, allocations: 29.7 kB / 355 MB, free: 6.613 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.2988, allocations: 1.207 MB / 356.2 MB, free: 5.402 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.299, allocations: 169.5 kB / 356.3 MB, free: 5.234 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.299, allocations: 15.94 kB / 356.3 MB, free: 5.219 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2991, allocations: 326 kB / 356.7 MB, free: 4.895 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.2995, allocations: 141 kB / 356.8 MB, free: 4.754 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.2998, allocations: 217.7 kB / 357 MB, free: 4.516 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.3002, allocations: 168.7 kB / 357.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3002, allocations: 4 kB / 357.2 MB, free: 4.344 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001101/0.3013, allocations: 0.6762 MB / 357.9 MB, free: 3.66 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3013, allocations: 8 kB / 357.9 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3013, allocations: 0 / 357.9 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3014, allocations: 12.25 kB / 357.9 MB, free: 3.641 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/0.3019, allocations: 115.9 kB / 358 MB, free: 3.527 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.3019, allocations: 7.938 kB / 358 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.3023, allocations: 23.94 kB / 358 MB, free: 3.496 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.3023, allocations: 16 kB / 358 MB, free: 3.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00107/0.3034, allocations: 0.9153 MB / 358.9 MB, free: 2.555 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/0.3037, allocations: 272.4 kB / 359.2 MB, free: 2.285 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.305, allocations: 0.7863 MB / 360 MB, free: 1.488 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.305, allocations: 4 kB / 360 MB, free: 1.484 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.305, allocations: 0 / 360 MB, free: 1.484 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.305, allocations: 3.984 kB / 360 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.3066, allocations: 1.477 MB / 361.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3067, allocations: 0 / 361.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/0.3071, allocations: 95.88 kB / 361.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003133/0.3074, allocations: 92.66 kB / 361.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.3075, allocations: 12 kB / 361.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005163/0.308, allocations: 0.6305 MB / 362.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.308, allocations: 0 / 362.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.3095, allocations: 1.086 MB / 363.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008708/0.3104, allocations: 0.4897 MB / 363.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.3105, allocations: 11.95 kB / 363.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/0.311, allocations: 27.98 kB / 363.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.3111, allocations: 32.33 kB / 364 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.3111, allocations: 15.98 kB / 364 MB, free: 13.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.004298/0.3154, allocations: 3.981 MB / 368 MB, free: 9.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3154, allocations: 0 / 368 MB, free: 9.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006957/0.3161, allocations: 208 kB / 368.2 MB, free: 9.207 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.0009615/0.3171, allocations: 401.5 kB / 368.6 MB, free: 8.809 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008039/0.3179, allocations: 376.9 kB / 368.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3179, allocations: 0 / 368.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.3184, allocations: 226.8 kB / 369.1 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/0.3192, allocations: 175.3 kB / 369.3 MB, free: 8.047 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007219/0.3264, allocations: 5.927 MB / 375.2 MB, free: 2.086 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/0.3281, allocations: 1.861 MB / 377.1 MB, free: 196 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005776/0.3287, allocations: 275.6 kB / 377.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.3289, allocations: 91.36 kB / 377.5 MB, free: 15.83 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3289, allocations: 0 / 377.5 MB, free: 15.83 MB / 318.1 MB Notification: Performance of Templates: time 0.02809/0.357, allocations: 13.9 MB / 391.4 MB, free: 1.902 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) Environment - environmentSimulation: