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.001174/0.001174, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 195 kB / 16.53 MB, free: 6.664 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.696/1.696, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001971/0.001971, allocations: 47.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3631, allocations: 46.64 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005641/0.3688, allocations: 3.714 MB / 329 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003025/0.3719, allocations: 1.01 MB / 330 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004555/0.3724, allocations: 20 kB / 330.1 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.3729, allocations: 146.8 kB / 330.2 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.3741, allocations: 276.6 kB / 330.5 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.3745, allocations: 130.7 kB / 330.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.3765, allocations: 1.404 MB / 332 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.3782, allocations: 1.122 MB / 333.1 MB, free: 12.06 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.3795, allocations: 0.623 MB / 333.7 MB, free: 11.44 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.3808, allocations: 0.7511 MB / 334.5 MB, free: 10.68 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.381, allocations: 156 kB / 334.6 MB, free: 10.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.3813, allocations: 156 kB / 334.8 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004449/0.3818, allocations: 466.7 kB / 335.3 MB, free: 9.922 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008697/0.3827, allocations: 0.7272 MB / 336 MB, free: 9.191 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.3846, allocations: 2.011 MB / 338 MB, free: 7.176 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.717e-05/0.3846, allocations: 0 / 338 MB, free: 7.176 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.3846, allocations: 0 / 338 MB, free: 7.176 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.776e-05/0.3847, allocations: 4 kB / 338 MB, free: 7.172 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.003233/0.3879, allocations: 1.648 MB / 339.6 MB, free: 5.469 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.756e-05/0.388, allocations: 12.03 kB / 339.7 MB, free: 5.457 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003132/0.3883, allocations: 143.2 kB / 339.8 MB, free: 5.316 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.3896, allocations: 0.815 MB / 340.6 MB, free: 4.461 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.757e-05/0.3896, allocations: 82.59 kB / 340.7 MB, free: 4.379 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.3898, allocations: 111.9 kB / 340.8 MB, free: 4.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.3924, allocations: 1.537 MB / 342.3 MB, free: 2.688 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.3925, allocations: 0 / 342.3 MB, free: 2.688 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.3926, allocations: 48 kB / 342.4 MB, free: 2.641 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.3926, allocations: 28 kB / 342.4 MB, free: 2.613 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.3949, allocations: 1.304 MB / 343.7 MB, free: 1.301 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007182/0.4021, allocations: 4.224 MB / 347.9 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.4036, allocations: 1.322 MB / 349.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000718/0.4043, allocations: 454.5 kB / 349.7 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.4044, allocations: 8.438 kB / 349.7 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.4044, allocations: 39 kB / 349.8 MB, free: 10.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 3.768e-06/0.4044, allocations: 0 / 349.8 MB, free: 10.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.003513/0.4079, allocations: 1.935 MB / 351.7 MB, free: 8.957 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.408, allocations: 67.83 kB / 351.8 MB, free: 8.879 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.4092, allocations: 0.8164 MB / 352.6 MB, free: 8.051 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.4093, allocations: 41.7 kB / 352.6 MB, free: 8.004 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.4097, allocations: 0.5414 MB / 353.2 MB, free: 7.453 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.4099, allocations: 173.5 kB / 353.3 MB, free: 7.281 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.41, allocations: 98.25 kB / 353.4 MB, free: 7.176 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4102, allocations: 394.7 kB / 353.8 MB, free: 6.781 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.4107, allocations: 296.9 kB / 354.1 MB, free: 6.492 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/0.4112, allocations: 407.3 kB / 354.5 MB, free: 6.059 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.4123, allocations: 0.695 MB / 355.2 MB, free: 5.336 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4123, allocations: 0 / 355.2 MB, free: 5.336 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001457/0.4137, allocations: 0.9204 MB / 356.1 MB, free: 4.402 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.4138, allocations: 4 kB / 356.1 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.4138, allocations: 4 kB / 356.1 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/0.4142, allocations: 112.9 kB / 356.2 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/0.4147, allocations: 119.8 kB / 356.3 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/0.4175, allocations: 2.376 MB / 358.7 MB, free: 1.648 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.418, allocations: 31.98 kB / 358.7 MB, free: 1.617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/0.4181, allocations: 28 kB / 358.8 MB, free: 1.59 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.0008233/0.4189, allocations: 461.3 kB / 359.2 MB, free: 1.129 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.4191, allocations: 71.16 kB / 359.3 MB, free: 1.059 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.4194, allocations: 95.08 kB / 359.4 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4194, allocations: 4 kB / 359.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.4194, allocations: 4 kB / 359.4 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.4194, allocations: 7.922 kB / 359.4 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003805/0.4232, allocations: 2.021 MB / 361.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4232, allocations: 0 / 361.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.4236, allocations: 87.89 kB / 361.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002695/0.4239, allocations: 104.9 kB / 361.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.424, allocations: 12 kB / 361.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.4262, allocations: 2.321 MB / 363.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4262, allocations: 0 / 363.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.4281, allocations: 1.207 MB / 365.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/0.4286, allocations: 160.2 kB / 365.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/0.4289, allocations: 11.98 kB / 365.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006444/0.4296, allocations: 47.95 kB / 365.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.4298, allocations: 44.38 kB / 365.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.4298, allocations: 16 kB / 365.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001231/0.4311, allocations: 0.5849 MB / 366 MB, free: 10.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4311, allocations: 4.188 kB / 366 MB, free: 10.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001228/0.4323, allocations: 208 kB / 366.2 MB, free: 9.855 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.0002247/0.4325, allocations: 123 kB / 366.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001892/0.4344, allocations: 0.9373 MB / 367.3 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.4345, allocations: 0 / 367.3 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008178/0.4353, allocations: 0.49 MB / 367.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.4367, allocations: 174.8 kB / 367.9 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004828/0.4415, allocations: 2.216 MB / 370.2 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/0.443, allocations: 1.328 MB / 371.5 MB, free: 4.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0007658/0.4437, allocations: 185.8 kB / 371.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.444, allocations: 51.38 kB / 371.7 MB, free: 4.246 MB / 302.1 MB Notification: Performance of SimCode: time 1.323e-06/0.444, allocations: 0 / 371.7 MB, free: 4.246 MB / 302.1 MB Notification: Performance of Templates: time 0.02293/0.467, allocations: 10.45 MB / 382.2 MB, free: 9.785 MB / 318.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)