Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.01146/0.01146, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.00278/0.00278, allocations: 199.4 kB / 16.68 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.772/1.772, allocations: 205.1 MB / 222.5 MB, free: 4.324 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.00122/0.00122, allocations: 53.38 kB / 326.5 MB, free: 14.6 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1016, allocations: 46.62 MB / 373.2 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005174/0.1068, allocations: 3.716 MB / 376.9 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.109, allocations: 1.013 MB / 377.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.1094, allocations: 19.94 kB / 377.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.1098, allocations: 142.8 kB / 378.1 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000849/0.1106, allocations: 278.5 kB / 378.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.111, allocations: 139.8 kB / 378.5 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.1124, allocations: 1.412 MB / 379.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.1136, allocations: 1.122 MB / 381 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007895/0.1144, allocations: 0.6191 MB / 381.6 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009108/0.1153, allocations: 0.7511 MB / 382.4 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.1155, allocations: 156 kB / 382.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.1157, allocations: 156 kB / 382.7 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004137/0.1162, allocations: 458.8 kB / 383.1 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007555/0.1169, allocations: 0.7272 MB / 383.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.1187, allocations: 2.033 MB / 385.9 MB, free: 4.621 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1187, allocations: 4 kB / 385.9 MB, free: 4.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1187, allocations: 0 / 385.9 MB, free: 4.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.1188, allocations: 0 / 385.9 MB, free: 4.617 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002833/0.1216, allocations: 1.648 MB / 387.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1217, allocations: 12.02 kB / 387.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.1219, allocations: 143.2 kB / 387.7 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.1232, allocations: 0.815 MB / 388.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.1233, allocations: 86.34 kB / 388.6 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.1235, allocations: 111.9 kB / 388.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.1258, allocations: 1.548 MB / 390.2 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.1258, allocations: 0 / 390.2 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.1259, allocations: 48 kB / 390.3 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.126, allocations: 24 kB / 390.3 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.128, allocations: 1.308 MB / 391.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006338/0.1343, allocations: 4.162 MB / 395.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.1356, allocations: 1.311 MB / 397.1 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006989/0.1364, allocations: 454.5 kB / 397.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.1364, allocations: 8.438 kB / 397.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.1365, allocations: 38.98 kB / 397.6 MB, free: 8.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 3.126e-06/0.1365, allocations: 4 kB / 397.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.00337/0.1398, allocations: 1.942 MB / 399.5 MB, free: 6.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1399, allocations: 55.84 kB / 399.6 MB, free: 6.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.141, allocations: 0.8204 MB / 400.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.1411, allocations: 37.64 kB / 400.4 MB, free: 5.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/0.1415, allocations: 0.5375 MB / 401 MB, free: 4.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.1417, allocations: 177.4 kB / 401.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.1418, allocations: 110.2 kB / 401.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.142, allocations: 386.8 kB / 401.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004463/0.1425, allocations: 300.9 kB / 401.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.143, allocations: 399.4 kB / 402.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009598/0.144, allocations: 0.695 MB / 403 MB, free: 2.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.144, allocations: 4 kB / 403 MB, free: 2.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001409/0.1454, allocations: 0.9124 MB / 403.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.1454, allocations: 8 kB / 403.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.1455, allocations: 0 / 403.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003228/0.1458, allocations: 117 kB / 404.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/0.1463, allocations: 123.9 kB / 404.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002333/0.1486, allocations: 2.372 MB / 406.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/0.1491, allocations: 31.91 kB / 406.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.1492, allocations: 28.06 kB / 406.6 MB, free: 15.08 MB / 350.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.0007561/0.1499, allocations: 453.5 kB / 407 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.1501, allocations: 79.06 kB / 407.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.1502, allocations: 91.06 kB / 407.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1502, allocations: 4 kB / 407.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.1503, allocations: 4 kB / 407.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1503, allocations: 3.938 kB / 407.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.1533, allocations: 2.017 MB / 409.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.1533, allocations: 4 kB / 409.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.1536, allocations: 79.89 kB / 409.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000235/0.1539, allocations: 116.8 kB / 409.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.1539, allocations: 16 kB / 409.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.156, allocations: 2.31 MB / 411.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.156, allocations: 12.02 kB / 411.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.1577, allocations: 1.208 MB / 413 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.158, allocations: 156.3 kB / 413.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.1581, allocations: 15.98 kB / 413.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.1585, allocations: 51.89 kB / 413.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.1586, allocations: 52.31 kB / 413.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.1587, allocations: 16 kB / 413.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007708/0.1595, allocations: 0.5849 MB / 413.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.1595, allocations: 0 / 413.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008133/0.1603, allocations: 208 kB / 414.1 MB, free: 7.348 MB / 350.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.0001773/0.1605, allocations: 123.1 kB / 414.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.1618, allocations: 0.8163 MB / 415 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1618, allocations: 0 / 415 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007237/0.1626, allocations: 0.4977 MB / 415.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008427/0.1634, allocations: 166.8 kB / 415.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.167, allocations: 2.195 MB / 417.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.168, allocations: 1.336 MB / 419.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004441/0.1684, allocations: 181.8 kB / 419.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.1686, allocations: 51.44 kB / 419.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1686, allocations: 0 / 419.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of Templates: time 0.01992/0.1885, allocations: 10.58 MB / 430 MB, free: 7.277 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1)