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.001132/0.001132, allocations: 97.64 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.006938/0.006939, allocations: 170.1 kB / 16.27 MB, free: 6.328 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.877/1.877, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.0005785/0.0005788, allocations: 8 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3593, allocations: 47.59 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004564/0.364, allocations: 3.353 MB / 330.4 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.3672, allocations: 0.9908 MB / 331.4 MB, free: 13.92 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005781/0.3678, allocations: 18.81 kB / 331.4 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.3682, allocations: 117.3 kB / 331.5 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.3694, allocations: 265.4 kB / 331.8 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.3697, allocations: 111.7 kB / 331.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00254/0.3723, allocations: 1.65 MB / 333.5 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.3737, allocations: 0.9347 MB / 334.5 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.3748, allocations: 478 kB / 334.9 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.3758, allocations: 0.6495 MB / 335.6 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.376, allocations: 76 kB / 335.6 MB, free: 10.68 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.3761, allocations: 76 kB / 335.7 MB, free: 10.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003793/0.3765, allocations: 354.8 kB / 336.1 MB, free: 10.26 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007903/0.3773, allocations: 0.6391 MB / 336.7 MB, free: 9.609 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002161/0.3795, allocations: 1.909 MB / 338.6 MB, free: 7.695 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3795, allocations: 0 / 338.6 MB, free: 7.695 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3795, allocations: 0 / 338.6 MB, free: 7.695 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.259e-05/0.3796, allocations: 0 / 338.6 MB, free: 7.695 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.003066/0.3826, allocations: 1.446 MB / 340.1 MB, free: 6.195 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.198e-05/0.3827, allocations: 8.031 kB / 340.1 MB, free: 6.188 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/0.3831, allocations: 147.2 kB / 340.2 MB, free: 6.043 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.3844, allocations: 0.8111 MB / 341 MB, free: 5.191 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.701e-05/0.3845, allocations: 82.59 kB / 341.1 MB, free: 5.109 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.3847, allocations: 111.9 kB / 341.2 MB, free: 5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.3877, allocations: 1.548 MB / 342.8 MB, free: 3.406 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.3878, allocations: 4 kB / 342.8 MB, free: 3.402 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.3879, allocations: 44 kB / 342.8 MB, free: 3.359 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.3879, allocations: 28 kB / 342.8 MB, free: 3.332 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/0.3903, allocations: 1.32 MB / 344.2 MB, free: 2.004 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00721/0.3976, allocations: 4.252 MB / 348.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.399, allocations: 1.318 MB / 349.7 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007183/0.3998, allocations: 466.5 kB / 350.2 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.3998, allocations: 8.438 kB / 350.2 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.3999, allocations: 39 kB / 350.2 MB, free: 11.62 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 3.817e-06/0.3999, allocations: 4 kB / 350.2 MB, free: 11.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.003745/0.4036, allocations: 1.974 MB / 352.2 MB, free: 9.578 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.4037, allocations: 63.72 kB / 352.3 MB, free: 9.504 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.4049, allocations: 0.8126 MB / 353.1 MB, free: 8.684 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.4049, allocations: 37.7 kB / 353.1 MB, free: 8.641 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.4054, allocations: 0.5375 MB / 353.7 MB, free: 8.094 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.4055, allocations: 177.5 kB / 353.8 MB, free: 7.918 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.4056, allocations: 53.69 kB / 353.9 MB, free: 7.859 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.4058, allocations: 386.7 kB / 354.3 MB, free: 7.473 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/0.4063, allocations: 308.9 kB / 354.6 MB, free: 7.168 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.4068, allocations: 407.4 kB / 355 MB, free: 6.738 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000998/0.4079, allocations: 0.7184 MB / 355.7 MB, free: 5.988 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4079, allocations: 0 / 355.7 MB, free: 5.988 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001485/0.4094, allocations: 0.9243 MB / 356.6 MB, free: 5.051 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.4094, allocations: 12.06 kB / 356.6 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.4094, allocations: 0 / 356.6 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003266/0.4098, allocations: 108.7 kB / 356.7 MB, free: 4.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.4103, allocations: 123.9 kB / 356.8 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.4126, allocations: 2.193 MB / 359 MB, free: 2.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.4131, allocations: 31.97 kB / 359.1 MB, free: 2.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.4132, allocations: 16 kB / 359.1 MB, free: 2.434 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.0008305/0.414, allocations: 465.3 kB / 359.5 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.4141, allocations: 75.2 kB / 359.6 MB, free: 1.895 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.4144, allocations: 95.08 kB / 359.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4144, allocations: 4 kB / 359.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.4144, allocations: 0 / 359.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.4144, allocations: 3.984 kB / 359.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/0.4177, allocations: 2.041 MB / 361.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.4177, allocations: 4 kB / 361.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003548/0.4181, allocations: 91.88 kB / 361.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002707/0.4184, allocations: 104.9 kB / 361.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.4184, allocations: 23.98 kB / 362 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.4205, allocations: 2.131 MB / 364.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4206, allocations: 0 / 364.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.4224, allocations: 1.219 MB / 365.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/0.4229, allocations: 168.1 kB / 365.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.891e-05/0.423, allocations: 16 kB / 365.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.4234, allocations: 56.02 kB / 365.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.4236, allocations: 40.38 kB / 365.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.4236, allocations: 20 kB / 365.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008159/0.4244, allocations: 0.5849 MB / 366.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4244, allocations: 4 kB / 366.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008554/0.4253, allocations: 212 kB / 366.4 MB, free: 10.82 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.000179/0.4255, allocations: 119 kB / 366.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.427, allocations: 0.8204 MB / 367.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.427, allocations: 4 kB / 367.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007627/0.4278, allocations: 0.4937 MB / 367.8 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.4288, allocations: 174.7 kB / 368 MB, free: 9.176 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.4331, allocations: 2.735 MB / 370.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009845/0.4341, allocations: 1.34 MB / 372.1 MB, free: 5.031 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005756/0.4347, allocations: 181.8 kB / 372.3 MB, free: 4.852 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.4349, allocations: 47.44 kB / 372.3 MB, free: 4.805 MB / 302.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4349, allocations: 4 kB / 372.3 MB, free: 4.801 MB / 302.1 MB Notification: Performance of Templates: time 0.0217/0.4566, allocations: 9.815 MB / 382.1 MB, free: 10.98 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)