Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001313/0.001313, allocations: 169.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.182/1.182, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001764/0.001764, allocations: 111.5 kB / 223.2 MB, free: 4.039 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.276e-05, allocations: 7.984 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06293/0.06298, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2366/0.2996, allocations: 74.1 MB / 381.7 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.2998, allocations: 81.5 kB / 381.8 MB, free: 2.145 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07113/0.371, allocations: 29.64 MB / 411.4 MB, free: 9.445 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3711, allocations: 0 / 411.4 MB, free: 9.445 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.323e-05/0.3712, allocations: 35.92 kB / 411.5 MB, free: 9.41 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.003648/0.3748, allocations: 1.649 MB / 413.1 MB, free: 7.824 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3749, allocations: 8.031 kB / 413.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007137/0.3756, allocations: 225.3 kB / 413.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.3773, allocations: 1.053 MB / 414.4 MB, free: 6.715 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.926e-05/0.3774, allocations: 104.4 kB / 414.5 MB, free: 6.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.3775, allocations: 124.9 kB / 414.6 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.38, allocations: 1.67 MB / 416.3 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.38, allocations: 4 kB / 416.3 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.3801, allocations: 56 kB / 416.4 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.854e-05/0.3802, allocations: 42 kB / 416.4 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.3823, allocations: 1.364 MB / 417.8 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007381/0.3897, allocations: 5.232 MB / 423 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.3908, allocations: 1.048 MB / 424.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.3913, allocations: 358.4 kB / 424.4 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.3913, allocations: 12.41 kB / 424.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.3914, allocations: 38.98 kB / 424.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.466e-06/0.3914, allocations: 3.984 kB / 424.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001232/0.3926, allocations: 0.7598 MB / 425.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.3927, allocations: 85.11 kB / 425.3 MB, free: 11.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.3938, allocations: 0.9301 MB / 426.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.3938, allocations: 33.7 kB / 426.3 MB, free: 10.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/0.3942, allocations: 0.6581 MB / 426.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.3944, allocations: 173.5 kB / 427.1 MB, free: 10.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.3944, allocations: 12 kB / 427.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3945, allocations: 334.2 kB / 427.4 MB, free: 9.719 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/0.3949, allocations: 305.4 kB / 427.7 MB, free: 9.418 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/0.3955, allocations: 465.9 kB / 428.2 MB, free: 8.891 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.396, allocations: 377 kB / 428.5 MB, free: 8.523 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.396, allocations: 0 / 428.5 MB, free: 8.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001201/0.3972, allocations: 0.8886 MB / 429.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3972, allocations: 11.95 kB / 429.4 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.3972, allocations: 4 kB / 429.5 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3973, allocations: 8 kB / 429.5 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006884/0.3979, allocations: 180.3 kB / 429.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.398, allocations: 11.94 kB / 429.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.3985, allocations: 83.25 kB / 429.7 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/0.3985, allocations: 31.98 kB / 429.8 MB, free: 7.305 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.3987, allocations: 142.3 kB / 429.9 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.3988, allocations: 86.97 kB / 430 MB, free: 7.074 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.3991, allocations: 111.9 kB / 430.1 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3991, allocations: 4 kB / 430.1 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.3991, allocations: 4 kB / 430.1 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.3991, allocations: 0 / 430.1 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.4023, allocations: 2.179 MB / 432.3 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4023, allocations: 4 kB / 432.3 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.4027, allocations: 87.88 kB / 432.4 MB, free: 4.609 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004537/0.4032, allocations: 156.2 kB / 432.5 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/0.4032, allocations: 19.98 kB / 432.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002793/0.406, allocations: 2.609 MB / 435.2 MB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4061, allocations: 3.938 kB / 435.2 MB, free: 1.695 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.4078, allocations: 1.35 MB / 436.5 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/0.4083, allocations: 255.9 kB / 436.8 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.4084, allocations: 24.05 kB / 436.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006268/0.4091, allocations: 51.89 kB / 436.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.4092, allocations: 63.86 kB / 436.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.941e-05/0.4093, allocations: 15.98 kB / 436.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00109/0.4104, allocations: 0.7294 MB / 437.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4104, allocations: 0 / 437.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001027/0.4114, allocations: 342.5 kB / 438 MB, free: 14.8 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000245/0.4117, allocations: 144.4 kB / 438.1 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.4128, allocations: 0.6442 MB / 438.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4128, allocations: 12.06 kB / 438.8 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009339/0.4137, allocations: 0.5146 MB / 439.3 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008738/0.4146, allocations: 163.8 kB / 439.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.4181, allocations: 2.207 MB / 441.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.4192, allocations: 1.506 MB / 443.2 MB, free: 9.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005028/0.4197, allocations: 198.6 kB / 443.3 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.4198, allocations: 59.42 kB / 443.4 MB, free: 9.262 MB / 330.7 MB Notification: Performance of SimCode: time 3e-07/0.4199, allocations: 0 / 443.4 MB, free: 9.262 MB / 330.7 MB Notification: Performance of Templates: time 0.01829/0.4381, allocations: 10.78 MB / 454.2 MB, free: 14.47 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)