Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 96.78 kB / 15.36 MB, free: 0.7344 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.009315/0.009315, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.741/1.741, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.0005922/0.0005925, allocations: 8 kB / 279.4 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3452, allocations: 47.59 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004203/0.3495, allocations: 3.356 MB / 330.4 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.3523, allocations: 1.041 MB / 331.4 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003947/0.3528, allocations: 18.66 kB / 331.4 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.3532, allocations: 129.9 kB / 331.6 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009424/0.3541, allocations: 260.7 kB / 331.8 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.3544, allocations: 122.8 kB / 331.9 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00203/0.3565, allocations: 1.692 MB / 333.6 MB, free: 12.51 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.3578, allocations: 0.9509 MB / 334.6 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007762/0.3586, allocations: 486 kB / 335.1 MB, free: 11.31 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.3596, allocations: 0.6612 MB / 335.7 MB, free: 10.65 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.3598, allocations: 80 kB / 335.8 MB, free: 10.57 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.36, allocations: 76 kB / 335.9 MB, free: 10.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003733/0.3604, allocations: 358.8 kB / 336.2 MB, free: 10.14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007547/0.3611, allocations: 0.6468 MB / 336.9 MB, free: 9.488 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.3629, allocations: 1.944 MB / 338.8 MB, free: 7.539 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.363, allocations: 0 / 338.8 MB, free: 7.539 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.363, allocations: 0 / 338.8 MB, free: 7.539 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.39e-05/0.363, allocations: 0 / 338.8 MB, free: 7.539 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002831/0.3658, allocations: 1.454 MB / 340.3 MB, free: 6.031 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.3659, allocations: 12.03 kB / 340.3 MB, free: 6.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.3662, allocations: 147.2 kB / 340.4 MB, free: 5.875 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.3675, allocations: 0.8306 MB / 341.3 MB, free: 5.004 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.618e-05/0.3676, allocations: 82.62 kB / 341.3 MB, free: 4.922 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.3678, allocations: 115.9 kB / 341.5 MB, free: 4.809 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.3704, allocations: 1.568 MB / 343 MB, free: 3.195 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.3705, allocations: 4 kB / 343 MB, free: 3.191 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.3706, allocations: 48 kB / 343.1 MB, free: 3.145 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.3706, allocations: 31.94 kB / 343.1 MB, free: 3.113 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/0.3728, allocations: 1.332 MB / 344.4 MB, free: 1.773 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006753/0.3796, allocations: 4.365 MB / 348.8 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.3809, allocations: 1.35 MB / 350.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008988/0.3818, allocations: 0.5377 MB / 350.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.3819, allocations: 4.438 kB / 350.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.3819, allocations: 39 kB / 350.7 MB, free: 11.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=51): time 2.806e-06/0.3819, allocations: 0 / 350.7 MB, free: 11.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.001504/0.3835, allocations: 0.8924 MB / 351.6 MB, free: 10.26 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.3835, allocations: 59.78 kB / 351.7 MB, free: 10.19 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.3846, allocations: 0.8204 MB / 352.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.3846, allocations: 41.7 kB / 352.5 MB, free: 9.316 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.385, allocations: 0.5415 MB / 353.1 MB, free: 8.766 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.3852, allocations: 181.4 kB / 353.3 MB, free: 8.586 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.3852, allocations: 49.69 kB / 353.3 MB, free: 8.531 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3854, allocations: 386.7 kB / 353.7 MB, free: 8.145 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/0.3859, allocations: 312.9 kB / 354 MB, free: 7.836 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/0.3865, allocations: 402.5 kB / 354.4 MB, free: 7.414 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.3875, allocations: 0.6981 MB / 355.1 MB, free: 6.688 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3875, allocations: 0 / 355.1 MB, free: 6.688 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001335/0.3889, allocations: 0.8336 MB / 355.9 MB, free: 5.844 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3889, allocations: 8 kB / 355.9 MB, free: 5.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3889, allocations: 0 / 355.9 MB, free: 5.836 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.3889, allocations: 8.281 kB / 355.9 MB, free: 5.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/0.3895, allocations: 151.8 kB / 356.1 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.3895, allocations: 8 kB / 356.1 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.3899, allocations: 67.34 kB / 356.2 MB, free: 5.605 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.39, allocations: 20 kB / 356.2 MB, free: 5.586 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006632/0.3907, allocations: 465.4 kB / 356.6 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3908, allocations: 71.16 kB / 356.7 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.391, allocations: 91.08 kB / 356.8 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.391, allocations: 11.98 kB / 356.8 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.391, allocations: 0 / 356.8 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.391, allocations: 7.922 kB / 356.8 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.394, allocations: 1.966 MB / 358.8 MB, free: 2.895 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.394, allocations: 0 / 358.8 MB, free: 2.895 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004805/0.3945, allocations: 120 kB / 358.9 MB, free: 2.777 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.3945, allocations: 8 kB / 358.9 MB, free: 2.77 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.3945, allocations: 15.94 kB / 358.9 MB, free: 2.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.3946, allocations: 4 kB / 358.9 MB, free: 2.75 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3946, allocations: 3.938 kB / 358.9 MB, free: 2.746 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.3961, allocations: 1.149 MB / 360.1 MB, free: 1.57 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.3963, allocations: 172.2 kB / 360.2 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/0.3964, allocations: 15.98 kB / 360.3 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.3968, allocations: 51.95 kB / 360.3 MB, free: 1.316 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3969, allocations: 52.25 kB / 360.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.3969, allocations: 16 kB / 360.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007124/0.3976, allocations: 0.5849 MB / 361 MB, free: 0.668 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3976, allocations: 0 / 361 MB, free: 0.668 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006819/0.3983, allocations: 290.7 kB / 361.2 MB, free: 392 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001392/0.3985, allocations: 107.2 kB / 361.3 MB, free: 276 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00097/0.3995, allocations: 0.6615 MB / 362 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3995, allocations: 4.562 kB / 362 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004424/0.3999, allocations: 330.2 kB / 362.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000989/0.4009, allocations: 179.2 kB / 362.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.4046, allocations: 2.84 MB / 365.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008517/0.4055, allocations: 1.34 MB / 366.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005543/0.406, allocations: 201.8 kB / 366.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.4062, allocations: 55.42 kB / 366.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4062, allocations: 0 / 366.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01653/0.4227, allocations: 9.397 MB / 376.3 MB, free: 1.184 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1)