Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001501, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002334/0.002335, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.913/1.913, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.001942/0.001942, allocations: 52.41 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3527, allocations: 46.62 MB / 324.8 MB, free: 2.281 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005099/0.3579, allocations: 3.752 MB / 328.6 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.3604, allocations: 0.9953 MB / 329.6 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004468/0.3609, allocations: 22.31 kB / 329.6 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.3615, allocations: 123.1 kB / 329.7 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.3627, allocations: 249.4 kB / 330 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.363, allocations: 121.8 kB / 330.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002433/0.3655, allocations: 1.412 MB / 331.5 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.3672, allocations: 1.106 MB / 332.6 MB, free: 12.53 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.3686, allocations: 0.6191 MB / 333.2 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.3697, allocations: 0.7745 MB / 334 MB, free: 11.13 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.3699, allocations: 156 kB / 334.2 MB, free: 10.98 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.3702, allocations: 156 kB / 334.3 MB, free: 10.83 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004541/0.3707, allocations: 470.7 kB / 334.8 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007726/0.3715, allocations: 0.7272 MB / 335.5 MB, free: 9.637 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.3732, allocations: 2.019 MB / 337.5 MB, free: 7.613 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3732, allocations: 0 / 337.5 MB, free: 7.613 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3732, allocations: 0 / 337.5 MB, free: 7.613 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.3733, allocations: 0 / 337.5 MB, free: 7.613 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002978/0.3762, allocations: 1.656 MB / 339.2 MB, free: 5.902 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.385e-05/0.3763, allocations: 8.031 kB / 339.2 MB, free: 5.895 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.3766, allocations: 143.2 kB / 339.3 MB, free: 5.754 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.3778, allocations: 0.8033 MB / 340.1 MB, free: 4.906 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.3779, allocations: 82.59 kB / 340.2 MB, free: 4.824 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.378, allocations: 111.9 kB / 340.3 MB, free: 4.715 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/0.3806, allocations: 1.548 MB / 341.9 MB, free: 3.121 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.3806, allocations: 0 / 341.9 MB, free: 3.121 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.3807, allocations: 48 kB / 341.9 MB, free: 3.074 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.3807, allocations: 24 kB / 341.9 MB, free: 3.051 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.3828, allocations: 1.304 MB / 343.2 MB, free: 1.738 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006649/0.3894, allocations: 4.224 MB / 347.5 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.3907, allocations: 1.307 MB / 348.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006981/0.3914, allocations: 462.5 kB / 349.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.3915, allocations: 8.438 kB / 349.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.3915, allocations: 38.98 kB / 349.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 3.166e-06/0.3915, allocations: 0 / 349.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.003494/0.395, allocations: 1.95 MB / 351.2 MB, free: 9.383 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.3951, allocations: 55.84 kB / 351.3 MB, free: 9.316 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.3964, allocations: 0.8165 MB / 352.1 MB, free: 8.488 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.3964, allocations: 37.7 kB / 352.1 MB, free: 8.445 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/0.3969, allocations: 0.5414 MB / 352.7 MB, free: 7.895 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.397, allocations: 169.5 kB / 352.8 MB, free: 7.727 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.3972, allocations: 102.2 kB / 352.9 MB, free: 7.617 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.3975, allocations: 394.7 kB / 353.3 MB, free: 7.223 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.3979, allocations: 300.9 kB / 353.6 MB, free: 6.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.3985, allocations: 399.4 kB / 354 MB, free: 6.504 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.3997, allocations: 0.7028 MB / 354.7 MB, free: 5.773 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.3997, allocations: 4 kB / 354.7 MB, free: 5.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001562/0.4012, allocations: 0.9086 MB / 355.6 MB, free: 4.848 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.4013, allocations: 11.94 kB / 355.6 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4013, allocations: 0 / 355.6 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003748/0.4017, allocations: 117 kB / 355.7 MB, free: 4.719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.4022, allocations: 123.8 kB / 355.9 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/0.405, allocations: 2.38 MB / 358.2 MB, free: 2.078 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.4054, allocations: 32 kB / 358.3 MB, free: 2.047 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.4055, allocations: 23.94 kB / 358.3 MB, free: 2.023 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007578/0.4062, allocations: 449.5 kB / 358.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.4064, allocations: 75.16 kB / 358.8 MB, free: 1.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.4065, allocations: 99.12 kB / 358.9 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4065, allocations: 4 kB / 358.9 MB, free: 1.391 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.4066, allocations: 7.938 kB / 358.9 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4066, allocations: 3.938 kB / 358.9 MB, free: 1.379 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/0.4098, allocations: 2.014 MB / 360.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4098, allocations: 0 / 360.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.4102, allocations: 91.88 kB / 361 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/0.4105, allocations: 104.9 kB / 361.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.4105, allocations: 16 kB / 361.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.4128, allocations: 2.333 MB / 363.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4128, allocations: 0 / 363.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.4145, allocations: 1.2 MB / 364.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.4147, allocations: 164.2 kB / 364.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-05/0.4148, allocations: 12 kB / 364.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.4152, allocations: 52.02 kB / 364.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.4153, allocations: 44.31 kB / 364.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.4154, allocations: 12 kB / 365 MB, free: 11.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008038/0.4162, allocations: 0.5888 MB / 365.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4162, allocations: 0 / 365.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009002/0.4171, allocations: 208 kB / 365.7 MB, free: 10.29 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002318/0.4173, allocations: 123.1 kB / 365.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.419, allocations: 0.9301 MB / 366.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.419, allocations: 3.938 kB / 366.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007201/0.4197, allocations: 0.4891 MB / 367.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009129/0.4206, allocations: 182.2 kB / 367.5 MB, free: 8.527 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.4244, allocations: 2.692 MB / 370.2 MB, free: 5.789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009067/0.4253, allocations: 1.34 MB / 371.5 MB, free: 4.422 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004373/0.4257, allocations: 185.8 kB / 371.7 MB, free: 4.238 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.4259, allocations: 51.42 kB / 371.7 MB, free: 4.188 MB / 302.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4259, allocations: 0 / 371.7 MB, free: 4.188 MB / 302.1 MB Notification: Performance of Templates: time 0.01937/0.4453, allocations: 10.35 MB / 382.1 MB, free: 9.828 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1)