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.005507/0.005507, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001313/0.001313, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.365/1.365, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001196/0.001196, allocations: 47.94 kB / 326.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09551/0.09672, allocations: 46.61 MB / 373.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004938/0.1017, allocations: 3.337 MB / 376.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1988/0.3005, allocations: 1.399 MB / 377.9 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004461/0.301, allocations: 6.125 kB / 377.9 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003755/0.3048, allocations: 2.654 MB / 380.6 MB, free: 9.641 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0006972/0.3055, allocations: 173.1 kB / 380.7 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007094/0.3063, allocations: 281.1 kB / 381 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002421/0.3087, allocations: 1.802 MB / 382.8 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.309, allocations: 139 kB / 382.9 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000569/0.3096, allocations: 307.6 kB / 383.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.31, allocations: 332.8 kB / 383.6 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.305e-05/0.3101, allocations: 43.25 kB / 383.6 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.3103, allocations: 69.06 kB / 383.7 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007493/0.311, allocations: 0.8458 MB / 384.5 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006317/0.3117, allocations: 0.938 MB / 385.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002666/0.3143, allocations: 2.61 MB / 388.1 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3143, allocations: 3.938 kB / 388.1 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3144, allocations: 0 / 388.1 MB, free: 8.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.04e-05/0.3144, allocations: 2.062 kB / 388.1 MB, free: 8.164 MB / 318.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.004011/0.3184, allocations: 2.792 MB / 390.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3185, allocations: 12.58 kB / 390.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004101/0.3189, allocations: 279.5 kB / 391.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.3214, allocations: 1.824 MB / 393 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.3215, allocations: 66.73 kB / 393 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.3217, allocations: 51.69 kB / 393.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.3224, allocations: 390.1 kB / 393.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.3224, allocations: 1.375 kB / 393.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.3224, allocations: 14.75 kB / 393.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.3224, allocations: 10.47 kB / 393.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/0.3231, allocations: 339.6 kB / 393.8 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004073/0.3272, allocations: 2.886 MB / 396.7 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.3278, allocations: 320.9 kB / 397 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.3281, allocations: 166 kB / 397.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.3281, allocations: 6.984 kB / 397.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.3282, allocations: 37.19 kB / 397.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 2.013e-06/0.3282, allocations: 4 kB / 397.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.004515/0.3327, allocations: 2.356 MB / 399.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3327, allocations: 90.67 kB / 399.7 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007421/0.3402, allocations: 5.432 MB / 405.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.3403, allocations: 36.45 kB / 405.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.3415, allocations: 1.212 MB / 406.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.3416, allocations: 164.8 kB / 406.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.3418, allocations: 90.16 kB / 406.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.3419, allocations: 329.9 kB / 406.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.3423, allocations: 141.1 kB / 407.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.3426, allocations: 225.6 kB / 407.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006651/0.3433, allocations: 389.9 kB / 407.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3433, allocations: 4 kB / 407.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001416/0.3447, allocations: 0.6762 MB / 408.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.3448, allocations: 8.938 kB / 408.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3448, allocations: 0 / 408.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.3448, allocations: 4 kB / 408.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.3453, allocations: 132 kB / 408.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.3454, allocations: 4 kB / 408.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005347/0.3459, allocations: 15.91 kB / 408.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.3459, allocations: 23.94 kB / 408.5 MB, free: 11.11 MB / 334.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.001204/0.3471, allocations: 0.9153 MB / 409.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/0.3475, allocations: 268.5 kB / 409.7 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004294/0.3479, allocations: 340.2 kB / 410 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3479, allocations: 12 kB / 410 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.3479, allocations: 0 / 410 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.348, allocations: 3.984 kB / 410.1 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.3497, allocations: 1.463 MB / 411.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3497, allocations: 4 kB / 411.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.3501, allocations: 95.88 kB / 411.6 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003286/0.3505, allocations: 87.69 kB / 411.7 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.3505, allocations: 15.98 kB / 411.7 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005382/0.3511, allocations: 0.6324 MB / 412.3 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3511, allocations: 3.938 kB / 412.4 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.3526, allocations: 1.038 MB / 413.4 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006696/0.3532, allocations: 489.6 kB / 413.9 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.3534, allocations: 15.88 kB / 413.9 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/0.3539, allocations: 19.98 kB / 413.9 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/0.354, allocations: 36.39 kB / 413.9 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.354, allocations: 12 kB / 413.9 MB, free: 5.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.004751/0.3588, allocations: 3.974 MB / 417.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3588, allocations: 0 / 417.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008512/0.3597, allocations: 204 kB / 418.1 MB, free: 1.395 MB / 334.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.0009825/0.3606, allocations: 428.9 kB / 418.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000827/0.3615, allocations: 376.9 kB / 418.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3615, allocations: 4 kB / 418.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004479/0.362, allocations: 214.3 kB / 419.1 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.3631, allocations: 191.8 kB / 419.3 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00716/0.3703, allocations: 5.407 MB / 424.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/0.3718, allocations: 1.817 MB / 426.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006876/0.3725, allocations: 275.5 kB / 426.8 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.3728, allocations: 95.42 kB / 426.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3728, allocations: 0 / 426.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of Templates: time 0.03113/0.4039, allocations: 15.47 MB / 442.4 MB, free: 9.094 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (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)