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.0008611/0.0008612, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.005738/0.005738, allocations: 172 kB / 16.26 MB, free: 6.613 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.366/1.366, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0004566/0.0004567, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2119, allocations: 47.58 MB / 327 MB, free: 1.629 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004365/0.2163, allocations: 3.92 MB / 331 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.2196, allocations: 1.619 MB / 332.6 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000586/0.2203, allocations: 12.62 kB / 332.6 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.2207, allocations: 100.9 kB / 332.7 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.2219, allocations: 306.6 kB / 333 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.2224, allocations: 200.5 kB / 333.2 MB, free: 12.67 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.2237, allocations: 0.9176 MB / 334.1 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003694/0.2241, allocations: 203.4 kB / 334.3 MB, free: 12.01 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004695/0.2246, allocations: 309.8 kB / 334.6 MB, free: 11.84 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004346/0.225, allocations: 375.2 kB / 335 MB, free: 11.56 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.267e-05/0.2251, allocations: 44 kB / 335 MB, free: 11.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.2255, allocations: 167.9 kB / 335.2 MB, free: 11.35 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.2256, allocations: 131.4 kB / 335.3 MB, free: 11.22 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002999/0.2259, allocations: 387.8 kB / 335.7 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009231/0.2268, allocations: 1.09 MB / 336.8 MB, free: 9.742 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2268, allocations: 0 / 336.8 MB, free: 9.742 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2268, allocations: 0 / 336.8 MB, free: 9.742 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.2268, allocations: 0 / 336.8 MB, free: 9.742 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.002114/0.229, allocations: 0.982 MB / 337.8 MB, free: 8.707 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.229, allocations: 8.031 kB / 337.8 MB, free: 8.699 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.2292, allocations: 83.98 kB / 337.8 MB, free: 8.617 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.2299, allocations: 0.5067 MB / 338.4 MB, free: 8.07 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.983e-05/0.23, allocations: 75.58 kB / 338.4 MB, free: 7.992 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.2302, allocations: 64.48 kB / 338.5 MB, free: 7.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.2313, allocations: 0.6136 MB / 339.1 MB, free: 7.297 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.2313, allocations: 0 / 339.1 MB, free: 7.297 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.2314, allocations: 24 kB / 339.1 MB, free: 7.273 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.2314, allocations: 20 kB / 339.1 MB, free: 7.254 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.2325, allocations: 0.536 MB / 339.7 MB, free: 6.715 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/0.2359, allocations: 2.318 MB / 342 MB, free: 4.289 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.2369, allocations: 0.4893 MB / 342.5 MB, free: 3.781 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.2375, allocations: 270.1 kB / 342.8 MB, free: 3.512 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.2375, allocations: 12.22 kB / 342.8 MB, free: 3.5 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.2376, allocations: 42.55 kB / 342.8 MB, free: 3.449 MB / 270.1 MB Notification: Performance of pre-optimization done (n=45): time 1.833e-06/0.2376, allocations: 0 / 342.8 MB, free: 3.449 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.01312/0.2507, allocations: 3.691 MB / 346.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.2508, allocations: 89.67 kB / 346.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007939/0.2516, allocations: 0.5331 MB / 347.1 MB, free: 15.01 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.2517, allocations: 41.7 kB / 347.2 MB, free: 14.96 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.2519, allocations: 316.2 kB / 347.5 MB, free: 14.65 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.2521, allocations: 212.9 kB / 347.7 MB, free: 14.44 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.881e-05/0.2522, allocations: 53.69 kB / 347.7 MB, free: 14.38 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.2524, allocations: 366.8 kB / 348.1 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005951/0.253, allocations: 261.1 kB / 348.3 MB, free: 13.76 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/0.2536, allocations: 356.4 kB / 348.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.2549, allocations: 0.6215 MB / 349.3 MB, free: 12.72 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2549, allocations: 0 / 349.3 MB, free: 12.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001585/0.2565, allocations: 0.7685 MB / 350.1 MB, free: 11.94 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2565, allocations: 7.938 kB / 350.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2565, allocations: 4 kB / 350.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.2567, allocations: 28.84 kB / 350.1 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008085/0.2575, allocations: 179.8 kB / 350.3 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.2586, allocations: 1.333 MB / 351.6 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005956/0.2592, allocations: 43.97 kB / 351.7 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.2593, allocations: 32.05 kB / 351.7 MB, free: 10.18 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 (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.0003107/0.2596, allocations: 201.7 kB / 351.9 MB, free: 9.977 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.2597, allocations: 55.34 kB / 352 MB, free: 9.922 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.2616, allocations: 0.8725 MB / 352.8 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2616, allocations: 4 kB / 352.8 MB, free: 9.031 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.2616, allocations: 0 / 352.8 MB, free: 9.031 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2616, allocations: 4 kB / 352.8 MB, free: 9.027 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003681/0.2653, allocations: 1.89 MB / 354.7 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2653, allocations: 0 / 354.7 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/0.2659, allocations: 107.9 kB / 354.8 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002498/0.2684, allocations: 0.5042 MB / 355.3 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.377e-05/0.2684, allocations: 12 kB / 355.3 MB, free: 6.453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004758/0.2732, allocations: 2.959 MB / 358.3 MB, free: 3.363 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2732, allocations: 4.031 kB / 358.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002977/0.2762, allocations: 1.417 MB / 359.7 MB, free: 1.922 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.2765, allocations: 204.4 kB / 359.9 MB, free: 1.703 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.259e-05/0.2766, allocations: 19.98 kB / 359.9 MB, free: 1.684 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006078/0.2772, allocations: 47.97 kB / 360 MB, free: 1.637 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.2773, allocations: 52.48 kB / 360 MB, free: 1.586 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.2774, allocations: 19.94 kB / 360.1 MB, free: 1.566 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004482/0.2778, allocations: 386.9 kB / 360.4 MB, free: 1.191 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2778, allocations: 0 / 360.4 MB, free: 1.191 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007093/0.2785, allocations: 184 kB / 360.6 MB, free: 1.012 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 (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.0002492/0.2788, allocations: 143.1 kB / 360.8 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.2803, allocations: 0.7637 MB / 361.5 MB, free: 92 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2803, allocations: 0.5 kB / 361.5 MB, free: 92 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009259/0.2812, allocations: 0.5252 MB / 362.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/0.282, allocations: 93.88 kB / 362.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.2848, allocations: 1.861 MB / 364 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.2854, allocations: 0.9007 MB / 364.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003434/0.2857, allocations: 72.8 kB / 365 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.2859, allocations: 47.42 kB / 365 MB, free: 12.51 MB / 302.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2859, allocations: 3.938 kB / 365 MB, free: 12.5 MB / 302.1 MB Notification: Performance of Templates: time 0.01605/0.302, allocations: 9.567 MB / 374.6 MB, free: 2.934 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)