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.0009485/0.0009485, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008051/0.0008051, allocations: 172.7 kB / 15.95 MB, free: 208 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.377/1.377, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.0004513/0.0004513, allocations: 16 kB / 278.9 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2252, allocations: 47.57 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003851/0.2291, allocations: 3.726 MB / 330.2 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.2316, allocations: 1.538 MB / 331.7 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002787/0.2319, allocations: 11.47 kB / 331.8 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.2322, allocations: 92.45 kB / 331.8 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006545/0.2328, allocations: 287.3 kB / 332.1 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.2332, allocations: 150.6 kB / 332.3 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008768/0.2341, allocations: 0.8638 MB / 333.1 MB, free: 12.2 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.2345, allocations: 179.3 kB / 333.3 MB, free: 12.1 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005243/0.235, allocations: 302.3 kB / 333.6 MB, free: 11.94 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005278/0.2355, allocations: 362.8 kB / 334 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.2356, allocations: 42.75 kB / 334 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.236, allocations: 158.3 kB / 334.2 MB, free: 11.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.2362, allocations: 130.6 kB / 334.3 MB, free: 11.53 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.2363, allocations: 162.3 kB / 334.4 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008127/0.2371, allocations: 0.9011 MB / 335.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2372, allocations: 0 / 335.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2372, allocations: 0 / 335.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.2372, allocations: 0 / 335.3 MB, free: 10.59 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002157/0.2393, allocations: 0.9818 MB / 336.3 MB, free: 9.551 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.2394, allocations: 12.03 kB / 336.3 MB, free: 9.539 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.2396, allocations: 75.06 kB / 336.4 MB, free: 9.465 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000757/0.2403, allocations: 0.494 MB / 336.9 MB, free: 8.93 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.2404, allocations: 71.02 kB / 337 MB, free: 8.855 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.2406, allocations: 67.98 kB / 337 MB, free: 8.789 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.2418, allocations: 0.6019 MB / 337.6 MB, free: 8.168 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.2419, allocations: 8 kB / 337.7 MB, free: 8.16 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.387e-05/0.242, allocations: 24 kB / 337.7 MB, free: 8.137 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.242, allocations: 12 kB / 337.7 MB, free: 8.125 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.2431, allocations: 0.536 MB / 338.2 MB, free: 7.586 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/0.2464, allocations: 2.322 MB / 340.5 MB, free: 5.156 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/0.2474, allocations: 497.6 kB / 341 MB, free: 4.652 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.2479, allocations: 278 kB / 341.3 MB, free: 4.375 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.2479, allocations: 4 kB / 341.3 MB, free: 4.371 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.248, allocations: 42.56 kB / 341.3 MB, free: 4.32 MB / 270.1 MB Notification: Performance of pre-optimization done (n=45): time 1.794e-06/0.248, allocations: 0 / 341.3 MB, free: 4.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.01145/0.2594, allocations: 3.687 MB / 345 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.2595, allocations: 89.66 kB / 345.1 MB, free: 444 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000648/0.2602, allocations: 0.5215 MB / 345.6 MB, free: 15.9 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/0.2602, allocations: 37.7 kB / 345.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.2604, allocations: 316.2 kB / 346 MB, free: 15.54 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.2606, allocations: 208.9 kB / 346.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.2606, allocations: 16 kB / 346.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2608, allocations: 370.8 kB / 346.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/0.2613, allocations: 257.2 kB / 346.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.2619, allocations: 348.4 kB / 347.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005681/0.2625, allocations: 302.1 kB / 347.5 MB, free: 14.03 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2625, allocations: 0 / 347.5 MB, free: 14.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001409/0.2639, allocations: 0.7529 MB / 348.2 MB, free: 13.26 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2639, allocations: 16.02 kB / 348.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.264, allocations: 4 kB / 348.2 MB, free: 13.24 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.2641, allocations: 32.83 kB / 348.3 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007548/0.2649, allocations: 171.8 kB / 348.4 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009718/0.2659, allocations: 1.322 MB / 349.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.2664, allocations: 52.03 kB / 349.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.2664, allocations: 27.92 kB / 349.8 MB, free: 11.51 MB / 286.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 (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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002637/0.2667, allocations: 201.7 kB / 350 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.2668, allocations: 63.2 kB / 350.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.2685, allocations: 0.8608 MB / 350.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.2686, allocations: 8 kB / 351 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2686, allocations: 0 / 351 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.2686, allocations: 7.984 kB / 351 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/0.2721, allocations: 1.886 MB / 352.8 MB, free: 8.406 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.2721, allocations: 4 kB / 352.9 MB, free: 8.402 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.2726, allocations: 107.9 kB / 353 MB, free: 8.297 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002169/0.2748, allocations: 0.5003 MB / 353.5 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.2748, allocations: 12 kB / 353.5 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004504/0.2794, allocations: 2.959 MB / 356.4 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2794, allocations: 0 / 356.4 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/0.2821, allocations: 1.405 MB / 357.8 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.2823, allocations: 208.2 kB / 358 MB, free: 3.039 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/0.2824, allocations: 12 kB / 358.1 MB, free: 3.027 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005248/0.283, allocations: 47.97 kB / 358.1 MB, free: 2.98 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.2831, allocations: 56.44 kB / 358.2 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.2831, allocations: 16 kB / 358.2 MB, free: 2.91 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004311/0.2836, allocations: 386.8 kB / 358.5 MB, free: 2.535 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2836, allocations: 4 kB / 358.5 MB, free: 2.531 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006827/0.2843, allocations: 192.1 kB / 358.7 MB, free: 2.344 MB / 286.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 (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 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002418/0.2845, allocations: 135.2 kB / 358.9 MB, free: 2.203 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.2859, allocations: 0.756 MB / 359.6 MB, free: 1.434 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.286, allocations: 3.938 kB / 359.6 MB, free: 1.43 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008348/0.2868, allocations: 0.5256 MB / 360.2 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007172/0.2875, allocations: 93.92 kB / 360.2 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.2903, allocations: 1.826 MB / 362.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.2908, allocations: 0.9084 MB / 363 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003286/0.2911, allocations: 68.81 kB / 363 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.2913, allocations: 55.41 kB / 363.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2913, allocations: 0 / 363.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of Templates: time 0.01491/0.3062, allocations: 9.301 MB / 372.4 MB, free: 4.574 MB / 302.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)