Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 99.7 kB / 16.5 MB, free: 6.645 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.001605/0.001605, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.444/1.444, allocations: 205.1 MB / 223.3 MB, free: 12.39 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.001858/0.001858, allocations: 39.94 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1038, allocations: 46.63 MB / 326 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01019/0.114, allocations: 10.4 MB / 336.4 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.1241, allocations: 6.682 MB / 343.1 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.1255, allocations: 39.81 kB / 343.1 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.1266, allocations: 389.3 kB / 343.5 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.1284, allocations: 0.784 MB / 344.3 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004256/0.1327, allocations: 2.032 MB / 346.3 MB, free: 480 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003522/0.1362, allocations: 3.379 MB / 349.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00086/0.1371, allocations: 0.6503 MB / 350.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.1384, allocations: 1.117 MB / 351.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.1398, allocations: 1.369 MB / 352.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002967/0.1401, allocations: 172 kB / 353 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008299/0.1409, allocations: 419.5 kB / 353.4 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.1414, allocations: 0.5876 MB / 354 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.1425, allocations: 1.247 MB / 355.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002927/0.1454, allocations: 3.749 MB / 359 MB, free: 3.723 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1455, allocations: 3.938 kB / 359 MB, free: 3.719 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1455, allocations: 0 / 359 MB, free: 3.719 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.752e-05/0.1455, allocations: 0 / 359 MB, free: 3.719 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.007135/0.1527, allocations: 3.071 MB / 362 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1527, allocations: 12.03 kB / 362 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004479/0.1532, allocations: 277.7 kB / 362.3 MB, free: 308 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.155, allocations: 1.354 MB / 363.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002284/0.1553, allocations: 241.5 kB / 363.9 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005321/0.1558, allocations: 239.9 kB / 364.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003886/0.1597, allocations: 2.162 MB / 366.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/0.1598, allocations: 7.938 kB / 366.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.16, allocations: 84 kB / 366.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.16, allocations: 48 kB / 366.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003815/0.1638, allocations: 1.916 MB / 368.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.1758, allocations: 7.841 MB / 376.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1475/0.3234, allocations: 2.094 MB / 378.3 MB, free: 50.9 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00266/0.3261, allocations: 1.222 MB / 379.5 MB, free: 50.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.3262, allocations: 32.34 kB / 379.5 MB, free: 50.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.3263, allocations: 66.56 kB / 379.6 MB, free: 50.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 4.649e-06/0.3263, allocations: 0 / 379.6 MB, free: 50.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05199/0.3783, allocations: 14.06 MB / 393.7 MB, free: 46.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.3785, allocations: 393.4 kB / 394.1 MB, free: 46.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.3805, allocations: 1.51 MB / 395.6 MB, free: 45.33 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002942/0.3808, allocations: 69.14 kB / 395.6 MB, free: 45.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/0.3812, allocations: 0.8247 MB / 396.5 MB, free: 44.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006454/0.3819, allocations: 0.8335 MB / 397.3 MB, free: 43.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007187/0.3826, allocations: 406.7 kB / 397.7 MB, free: 43.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.905e-05/0.3826, allocations: 301.1 kB / 398 MB, free: 43.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.3845, allocations: 0.996 MB / 399 MB, free: 42.78 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.3865, allocations: 1.253 MB / 400.2 MB, free: 42.02 MB / 318.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02937/0.4159, allocations: 9.379 MB / 409.6 MB, free: 32.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.416, allocations: 0 / 409.6 MB, free: 32.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.004965/0.4209, allocations: 2.942 MB / 412.6 MB, free: 29.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.421, allocations: 8.625 kB / 412.6 MB, free: 29.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/0.421, allocations: 8.094 kB / 412.6 MB, free: 29.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008297/0.4218, allocations: 356.9 kB / 412.9 MB, free: 29.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/0.4243, allocations: 0.55 MB / 413.5 MB, free: 28.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006402/0.4307, allocations: 10.01 MB / 423.5 MB, free: 17.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/0.4326, allocations: 135.8 kB / 423.6 MB, free: 17.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.4328, allocations: 83.95 kB / 423.7 MB, free: 17.73 MB / 318.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: transformer.winding13.i = transformer.I1Start[3] transformer.winding12.i = transformer.I1Start[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 9 (diode6.off,diode5.off,diode4.off,diode3.off,diode2.off,diode1.off,transformer.core3.asc,transformer.core2.asc,transformer.core1.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (256): * Single equations (assignments): 244 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0008692/0.4337, allocations: 468 kB / 424.2 MB, free: 17.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004483/0.4342, allocations: 205.7 kB / 424.4 MB, free: 17.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007446/0.4416, allocations: 3.449 MB / 427.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.4417, allocations: 24 kB / 427.8 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4417, allocations: 4 kB / 427.8 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/0.4417, allocations: 19.94 kB / 427.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.4526, allocations: 6.177 MB / 434 MB, free: 7.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.066e-06/0.4526, allocations: 3.984 kB / 434 MB, free: 7.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/0.4545, allocations: 411.5 kB / 434.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005284/0.4598, allocations: 1.217 MB / 435.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/0.46, allocations: 59.97 kB / 435.7 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01878/0.4787, allocations: 17.21 MB / 452.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4788, allocations: 8.188 kB / 452.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/0.4896, allocations: 4.91 MB / 457.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.4907, allocations: 0.5256 MB / 458.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003947/0.4911, allocations: 56.06 kB / 458.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/0.493, allocations: 135.9 kB / 458.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005174/0.4936, allocations: 213.7 kB / 458.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.4937, allocations: 67.98 kB / 458.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001453/0.4952, allocations: 1.037 MB / 459.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4952, allocations: 0 / 459.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002593/0.4978, allocations: 0.6991 MB / 460.6 MB, free: 11.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.core1.Hstat,transformer.core1.B,transformer.core2.Hstat,transformer.core2.B,transformer.core3.Hstat,transformer.core3.B,transformer.winding11.i,transformer.winding12.i,transformer.winding13.i,transformer.winding21.i,transformer.winding22.i,transformer.winding23.i,capacitor1.v,capacitor2.v,pdissStatAvg.x[1],pdissStatAvg.x[2],pdissEddyAvg.x[1],pdissEddyAvg.x[2],pdissCopAvg.x[1],pdissCopAvg.x[2],transformer.core3.MagRel,transformer.core2.MagRel,transformer.core1.MagRel) * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,8), (1,8), (1,8), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005336/0.4984, allocations: 255.9 kB / 460.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005713/0.5041, allocations: 3.36 MB / 464.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5041, allocations: 0 / 464.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003784/0.5079, allocations: 2.605 MB / 466.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.5102, allocations: 357 kB / 467.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009471/0.5197, allocations: 6.275 MB / 473.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.5211, allocations: 1.564 MB / 475 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00162/0.5227, allocations: 295.8 kB / 475.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006958/0.5234, allocations: 163.3 kB / 475.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5234, allocations: 0 / 475.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of Templates: time 0.05492/0.5784, allocations: 36.89 MB / 0.5003 GB, free: 7.293 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)