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.001334/0.001334, allocations: 112.8 kB / 17.06 MB, free: 5.984 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.001439/0.001439, allocations: 198.9 kB / 18 MB, free: 5.066 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.783/1.783, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001873/0.001873, allocations: 51.92 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1165, allocations: 46.62 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.00596/0.1225, allocations: 3.719 MB / 378.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2977/0.4203, allocations: 1.009 MB / 379.2 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006575/0.421, allocations: 21.41 kB / 379.2 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.4215, allocations: 145.9 kB / 379.4 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.4225, allocations: 275.4 kB / 379.6 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.4229, allocations: 132.2 kB / 379.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.4246, allocations: 1.414 MB / 381.2 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.4262, allocations: 1.124 MB / 382.3 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.4272, allocations: 0.6219 MB / 382.9 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.4285, allocations: 0.7526 MB / 383.7 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002538/0.4288, allocations: 155.7 kB / 383.8 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.4291, allocations: 156.1 kB / 384 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005539/0.4297, allocations: 460.8 kB / 384.4 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.4307, allocations: 0.7222 MB / 385.2 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002898/0.4336, allocations: 2.031 MB / 387.2 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.4337, allocations: 9.125 kB / 387.2 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4337, allocations: 0 / 387.2 MB, free: 7.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.095e-05/0.4337, allocations: 0 / 387.2 MB, free: 7.539 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.003467/0.4372, allocations: 1.66 MB / 388.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.4372, allocations: 9.531 kB / 388.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002818/0.4375, allocations: 141.3 kB / 389 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.439, allocations: 0.809 MB / 389.8 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.874e-05/0.4391, allocations: 83.12 kB / 389.9 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.4393, allocations: 115.5 kB / 390 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.4425, allocations: 1.538 MB / 391.5 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.4426, allocations: 5.828 kB / 391.5 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.4427, allocations: 45.06 kB / 391.6 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/0.4427, allocations: 26.59 kB / 391.6 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/0.4453, allocations: 1.309 MB / 392.9 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00864/0.454, allocations: 4.169 MB / 397.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.4555, allocations: 1.306 MB / 398.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007987/0.4563, allocations: 458.4 kB / 398.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.4564, allocations: 4.75 kB / 398.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.4564, allocations: 42.28 kB / 398.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.946e-06/0.4565, allocations: 0 / 398.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.00417/0.4606, allocations: 1.943 MB / 400.8 MB, free: 4 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.4607, allocations: 57.44 kB / 400.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.4621, allocations: 0.8165 MB / 401.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.45e-05/0.4622, allocations: 32.89 kB / 401.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005573/0.4628, allocations: 0.5449 MB / 402.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.4629, allocations: 174.5 kB / 402.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.4632, allocations: 103.2 kB / 402.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002752/0.4634, allocations: 390.4 kB / 402.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000583/0.464, allocations: 307.1 kB / 403.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007974/0.4649, allocations: 397.8 kB / 403.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.4663, allocations: 0.7007 MB / 404.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4663, allocations: 1.031 kB / 404.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002143/0.4685, allocations: 0.9137 MB / 405.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/0.4685, allocations: 6.656 kB / 405.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.4686, allocations: 2.25 kB / 405.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004861/0.4691, allocations: 114.3 kB / 405.4 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/0.4697, allocations: 121.5 kB / 405.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/0.473, allocations: 2.377 MB / 407.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006027/0.4736, allocations: 32.19 kB / 407.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.4737, allocations: 22.97 kB / 407.9 MB, free: 10.84 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.00119/0.4749, allocations: 461.8 kB / 408.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.475, allocations: 77.66 kB / 408.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.4752, allocations: 87.98 kB / 408.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.4753, allocations: 6 kB / 408.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.301e-05/0.4753, allocations: 1.938 kB / 408.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.4753, allocations: 7.922 kB / 408.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004711/0.48, allocations: 2.006 MB / 410.5 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.48, allocations: 6.469 kB / 410.6 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.4805, allocations: 90.78 kB / 410.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003774/0.4809, allocations: 109.2 kB / 410.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.4809, allocations: 17.8 kB / 410.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/0.4839, allocations: 2.313 MB / 413.1 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.4839, allocations: 1.344 kB / 413.1 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.4861, allocations: 1.21 MB / 414.3 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.4865, allocations: 160.5 kB / 414.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.144e-05/0.4866, allocations: 12 kB / 414.5 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.487, allocations: 51.94 kB / 414.5 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.4872, allocations: 48.31 kB / 414.6 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.4872, allocations: 16 kB / 414.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001007/0.4882, allocations: 0.5888 MB / 415.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4882, allocations: 0 / 415.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001185/0.4894, allocations: 212 kB / 415.4 MB, free: 4.699 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.0002459/0.4897, allocations: 107.2 kB / 415.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.4914, allocations: 0.8245 MB / 416.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.4914, allocations: 0 / 416.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008245/0.4922, allocations: 0.4983 MB / 416.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009793/0.4932, allocations: 169.9 kB / 417 MB, free: 3.074 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/0.4977, allocations: 2.189 MB / 419.1 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.499, allocations: 1.336 MB / 420.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005519/0.4996, allocations: 173.8 kB / 420.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.4998, allocations: 55.42 kB / 420.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.334e-06/0.4998, allocations: 4 kB / 420.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of Templates: time 0.02322/0.523, allocations: 10.72 MB / 431.4 MB, free: 4.543 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)