Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001821/0.001821, allocations: 107.9 kB / 17.06 MB, free: 5.82 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.002412/0.002412, allocations: 195.9 kB / 18 MB, free: 4.965 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.737/1.737, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.00113/0.00113, allocations: 47.94 kB / 327.9 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.131, allocations: 46.62 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005587/0.1366, allocations: 3.726 MB / 378.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2455/0.3822, allocations: 1.006 MB / 379.2 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000607/0.3829, allocations: 20.66 kB / 379.2 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.3833, allocations: 147.2 kB / 379.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000866/0.3842, allocations: 275.7 kB / 379.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.3845, allocations: 132.9 kB / 379.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.386, allocations: 1.41 MB / 381.2 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/0.3877, allocations: 1.118 MB / 382.3 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.3888, allocations: 0.6243 MB / 382.9 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.3899, allocations: 0.7516 MB / 383.7 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002463/0.3902, allocations: 156.3 kB / 383.8 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000386/0.3906, allocations: 155.5 kB / 384 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004975/0.3911, allocations: 460.1 kB / 384.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000969/0.3921, allocations: 0.7273 MB / 385.2 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002733/0.3948, allocations: 2.037 MB / 387.2 MB, free: 7.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3948, allocations: 4 kB / 387.2 MB, free: 7.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3949, allocations: 0 / 387.2 MB, free: 7.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.538e-05/0.3949, allocations: 1.031 kB / 387.2 MB, free: 7.527 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.003198/0.3981, allocations: 1.691 MB / 388.9 MB, free: 6.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3982, allocations: 9.344 kB / 388.9 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.3985, allocations: 151 kB / 389 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.3996, allocations: 0.8144 MB / 389.9 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.3997, allocations: 83.09 kB / 389.9 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.3999, allocations: 114.4 kB / 390.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/0.4028, allocations: 1.542 MB / 391.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.4029, allocations: 0 / 391.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.403, allocations: 47.09 kB / 391.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.403, allocations: 31.16 kB / 391.7 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.4055, allocations: 1.3 MB / 393 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006694/0.4122, allocations: 4.183 MB / 397.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.4132, allocations: 1.307 MB / 398.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006577/0.4139, allocations: 460.3 kB / 398.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.4139, allocations: 8.75 kB / 398.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.414, allocations: 38.31 kB / 399 MB, free: 1.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.395e-06/0.414, allocations: 0 / 399 MB, free: 1.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.003481/0.4175, allocations: 1.957 MB / 400.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.4175, allocations: 56.66 kB / 401 MB, free: 15.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.4187, allocations: 0.8207 MB / 401.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.4188, allocations: 33.33 kB / 401.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.4192, allocations: 0.5509 MB / 402.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.4194, allocations: 185.5 kB / 402.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.4196, allocations: 107.1 kB / 402.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.4198, allocations: 391.3 kB / 403 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005468/0.4203, allocations: 306.5 kB / 403.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.4209, allocations: 402 kB / 403.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.4219, allocations: 0.6997 MB / 404.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.422, allocations: 1.156 kB / 404.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001554/0.4235, allocations: 0.9189 MB / 405.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.4235, allocations: 5.375 kB / 405.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/0.4236, allocations: 3.5 kB / 405.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/0.4239, allocations: 117.4 kB / 405.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.4245, allocations: 125.5 kB / 405.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.4269, allocations: 2.368 MB / 408 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.4275, allocations: 24.27 kB / 408 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.4276, allocations: 31.98 kB / 408 MB, free: 10.72 MB / 334.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.0009238/0.4285, allocations: 462.8 kB / 408.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.4286, allocations: 77.75 kB / 408.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.4288, allocations: 87.8 kB / 408.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4288, allocations: 6.438 kB / 408.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/0.4289, allocations: 1.562 kB / 408.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.4289, allocations: 3.984 kB / 408.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003265/0.4321, allocations: 2.025 MB / 410.7 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4322, allocations: 2.75 kB / 410.7 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.4325, allocations: 83.27 kB / 410.8 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/0.4328, allocations: 107.8 kB / 410.9 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.4328, allocations: 17.48 kB / 410.9 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.4351, allocations: 2.315 MB / 413.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4351, allocations: 2 kB / 413.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.4369, allocations: 1.211 MB / 414.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.4372, allocations: 164.9 kB / 414.6 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.848e-05/0.4373, allocations: 16 kB / 414.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.4377, allocations: 47.94 kB / 414.6 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.4378, allocations: 48.33 kB / 414.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.4379, allocations: 19.98 kB / 414.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008386/0.4387, allocations: 0.5849 MB / 415.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4387, allocations: 0 / 415.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001007/0.4397, allocations: 208 kB / 415.5 MB, free: 4.586 MB / 334.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.0001769/0.4399, allocations: 115.1 kB / 415.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.4414, allocations: 0.8202 MB / 416.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.4414, allocations: 0 / 416.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007569/0.4421, allocations: 0.4984 MB / 416.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009089/0.4431, allocations: 176.6 kB / 417.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.4473, allocations: 2.228 MB / 419.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.4486, allocations: 1.336 MB / 420.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000596/0.4493, allocations: 181.8 kB / 420.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.4494, allocations: 51.44 kB / 420.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4494, allocations: 0 / 420.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of Templates: time 0.02004/0.4695, allocations: 10.57 MB / 431.5 MB, free: 4.516 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1)