Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005444/0.005443, allocations: 97.59 kB / 15.73 MB, free: 6.059 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.001298/0.001299, allocations: 192 kB / 16.67 MB, free: 5.969 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.367/1.367, 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.001155/0.001155, allocations: 43.94 kB / 326.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08902/0.09019, allocations: 46.61 MB / 373.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.00604/0.09627, allocations: 4.299 MB / 377.5 MB, free: 248 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1941/0.2904, allocations: 1.631 MB / 379.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004433/0.2909, allocations: 6.875 kB / 379.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.2913, allocations: 127.3 kB / 379.2 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.2924, allocations: 359.2 kB / 379.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.2929, allocations: 233.1 kB / 379.8 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000973/0.2939, allocations: 0.9873 MB / 380.8 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003866/0.2943, allocations: 237 kB / 381 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.2949, allocations: 372 kB / 381.4 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.2953, allocations: 430.6 kB / 381.8 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.2955, allocations: 95.62 kB / 381.9 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.2959, allocations: 217.8 kB / 382.1 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.296, allocations: 199.4 kB / 382.3 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.2963, allocations: 415.7 kB / 382.7 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.2976, allocations: 1.169 MB / 383.9 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2976, allocations: 0 / 383.9 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2976, allocations: 0 / 383.9 MB, free: 8.141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.2976, allocations: 0 / 383.9 MB, free: 8.141 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002316/0.2999, allocations: 1.089 MB / 385 MB, free: 7.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3, allocations: 13.77 kB / 385 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.3002, allocations: 82.47 kB / 385.1 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007779/0.3009, allocations: 0.5175 MB / 385.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-05/0.301, allocations: 73.75 kB / 385.6 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.3013, allocations: 66.23 kB / 385.7 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.3024, allocations: 0.6066 MB / 386.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.3024, allocations: 1.156 kB / 386.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.642e-05/0.3025, allocations: 22.34 kB / 386.3 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.3025, allocations: 13.5 kB / 386.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.3037, allocations: 0.5273 MB / 386.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.3069, allocations: 2.285 MB / 389.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000972/0.3079, allocations: 475.8 kB / 389.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.3085, allocations: 269 kB / 389.9 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.3085, allocations: 7.969 kB / 389.9 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3085, allocations: 39.02 kB / 389.9 MB, free: 4.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 2.224e-06/0.3085, allocations: 0 / 389.9 MB, free: 4.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.01292/0.3215, allocations: 3.546 MB / 393.5 MB, free: 3.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.3215, allocations: 83.73 kB / 393.6 MB, free: 3.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007601/0.3223, allocations: 0.5364 MB / 394.1 MB, free: 2.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.541e-05/0.3224, allocations: 36.61 kB / 394.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.3225, allocations: 317.4 kB / 394.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.3227, allocations: 209.9 kB / 394.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.3229, allocations: 115.6 kB / 394.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.323, allocations: 366.5 kB / 395.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/0.3236, allocations: 247.9 kB / 395.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005816/0.3241, allocations: 352.3 kB / 395.7 MB, free: 1.621 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.3252, allocations: 0.5987 MB / 396.3 MB, free: 1.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3252, allocations: 0 / 396.3 MB, free: 1.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001507/0.3268, allocations: 0.7401 MB / 397 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3268, allocations: 7.125 kB / 397.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3268, allocations: 3.281 kB / 397.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.327, allocations: 37.09 kB / 397.1 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000802/0.3278, allocations: 169.1 kB / 397.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009056/0.3287, allocations: 1.433 MB / 398.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006458/0.3294, allocations: 41.81 kB / 398.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/0.3294, allocations: 23.16 kB / 398.8 MB, free: 15.46 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003241/0.3298, allocations: 208.6 kB / 399 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.3299, allocations: 63.97 kB / 399 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.3318, allocations: 0.8353 MB / 399.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.3319, allocations: 15.59 kB / 399.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3319, allocations: 0 / 399.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.3319, allocations: 4.594 kB / 399.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004015/0.3359, allocations: 1.851 MB / 401.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.336, allocations: 0 / 401.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.3365, allocations: 106.8 kB / 401.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002383/0.3389, allocations: 471.6 kB / 402.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.339, allocations: 17.2 kB / 402.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00531/0.3443, allocations: 3.15 MB / 405.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3443, allocations: 1.344 kB / 405.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/0.3479, allocations: 1.365 MB / 406.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.3483, allocations: 214.4 kB / 407 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.842e-05/0.3484, allocations: 12.62 kB / 407 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006196/0.349, allocations: 40.16 kB / 407.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.3491, allocations: 46.56 kB / 407.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.3492, allocations: 20.33 kB / 407.2 MB, free: 9.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006955/0.3499, allocations: 387.7 kB / 407.5 MB, free: 9.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3499, allocations: 4 kB / 407.5 MB, free: 9.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001381/0.3513, allocations: 190.5 kB / 407.7 MB, free: 9.527 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005061/0.3518, allocations: 145 kB / 407.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.3538, allocations: 0.7324 MB / 408.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.3538, allocations: 3.984 kB / 408.6 MB, free: 9.004 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.355, allocations: 0.5233 MB / 409.1 MB, free: 8.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/0.3559, allocations: 96.11 kB / 409.2 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.3602, allocations: 1.46 MB / 410.7 MB, free: 7.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008588/0.3611, allocations: 0.903 MB / 411.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005142/0.3616, allocations: 73.34 kB / 411.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.3619, allocations: 50.09 kB / 411.7 MB, free: 6.844 MB / 334.1 MB Notification: Performance of SimCode: time 1.693e-06/0.3619, allocations: 0 / 411.7 MB, free: 6.844 MB / 334.1 MB Notification: Performance of Templates: time 0.01862/0.3805, allocations: 10.41 MB / 422.1 MB, free: 13.02 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)