Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009389/0.000939, allocations: 180 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.153/1.153, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001554/0.001553, allocations: 112.9 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002931, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07688/0.07719, allocations: 44.5 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2235/0.3007, allocations: 80.44 MB / 435.5 MB, free: 9.172 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.301, allocations: 84.39 kB / 435.6 MB, free: 9.125 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06714/0.3681, allocations: 30.69 MB / 466.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3682, allocations: 0 / 466.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.989e-05/0.3683, allocations: 36 kB / 466.3 MB, free: 12.77 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003762/0.3721, allocations: 1.848 MB / 468.2 MB, free: 10.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3721, allocations: 8.031 kB / 468.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.3735, allocations: 321.7 kB / 468.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.3755, allocations: 1.094 MB / 469.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.725e-05/0.3756, allocations: 102.7 kB / 469.7 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.3758, allocations: 135.9 kB / 469.8 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/0.3795, allocations: 1.842 MB / 471.7 MB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.3795, allocations: 0 / 471.7 MB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/0.3797, allocations: 56 kB / 471.7 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.878e-05/0.3798, allocations: 46 kB / 471.8 MB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003126/0.3829, allocations: 1.625 MB / 473.4 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009498/0.3924, allocations: 5.58 MB / 479 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.3954, allocations: 2.907 MB / 481.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002358/0.3977, allocations: 1.533 MB / 483.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.3978, allocations: 42.56 kB / 483.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 1.993e-06/0.3978, allocations: 4 kB / 483.4 MB, free: 10.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=53): time 0.002971/0.4008, allocations: 1.431 MB / 484.9 MB, free: 9.285 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.4008, allocations: 89.11 kB / 485 MB, free: 9.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.402, allocations: 0.9181 MB / 485.9 MB, free: 8.254 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.4021, allocations: 37.7 kB / 485.9 MB, free: 8.211 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004546/0.4026, allocations: 0.6774 MB / 486.6 MB, free: 7.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.4027, allocations: 193.2 kB / 486.8 MB, free: 7.332 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.4028, allocations: 16 kB / 486.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.4029, allocations: 341.9 kB / 487.1 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005808/0.4035, allocations: 365 kB / 487.5 MB, free: 6.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006838/0.4042, allocations: 0.5254 MB / 488 MB, free: 6.023 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/0.4049, allocations: 445.3 kB / 488.5 MB, free: 5.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4049, allocations: 0 / 488.5 MB, free: 5.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001596/0.4065, allocations: 1.017 MB / 489.5 MB, free: 4.566 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.4065, allocations: 8 kB / 489.5 MB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4065, allocations: 4 kB / 489.5 MB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.4066, allocations: 8 kB / 489.5 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/0.4073, allocations: 191.9 kB / 489.7 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.4073, allocations: 12 kB / 489.7 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000537/0.4079, allocations: 87.25 kB / 489.8 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.4079, allocations: 27.98 kB / 489.8 MB, free: 4.234 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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.0007842/0.4087, allocations: 0.5363 MB / 490.3 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.4089, allocations: 86.97 kB / 490.4 MB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.4101, allocations: 0.7049 MB / 491.1 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.4101, allocations: 7.953 kB / 491.1 MB, free: 2.875 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.4101, allocations: 4 kB / 491.1 MB, free: 2.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4102, allocations: 7.938 kB / 491.1 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.4128, allocations: 1.672 MB / 492.8 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4128, allocations: 3.953 kB / 492.8 MB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/0.4133, allocations: 95.88 kB / 492.9 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000411/0.4137, allocations: 152.7 kB / 493.1 MB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/0.4138, allocations: 23.98 kB / 493.1 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002799/0.4166, allocations: 2.661 MB / 495.7 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4166, allocations: 4.062 kB / 495.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.4187, allocations: 1.549 MB / 497.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.419, allocations: 188 kB / 497.5 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.4191, allocations: 23.98 kB / 497.5 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.4196, allocations: 67.89 kB / 497.6 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.4197, allocations: 55.86 kB / 497.6 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.4198, allocations: 16 kB / 497.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008946/0.4207, allocations: 0.7254 MB / 498.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.383e-06/0.4207, allocations: 0 / 498.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00094/0.4217, allocations: 362.3 kB / 498.7 MB, free: 11.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * 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.4219, allocations: 152 kB / 498.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.4231, allocations: 0.7915 MB / 499.7 MB, free: 10.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4232, allocations: 0 / 499.7 MB, free: 10.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009461/0.4241, allocations: 0.596 MB / 0.4885 GB, free: 9.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.4248, allocations: 164.9 kB / 0.4887 GB, free: 9.293 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.4291, allocations: 3.319 MB / 0.4919 GB, free: 5.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.4301, allocations: 1.515 MB / 0.4934 GB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006306/0.4307, allocations: 234.7 kB / 0.4936 GB, free: 4.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.4309, allocations: 63.42 kB / 0.4937 GB, free: 4.082 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4309, allocations: 0 / 0.4937 GB, free: 4.082 MB / 378.7 MB Notification: Performance of Templates: time 0.0184/0.4493, allocations: 10.77 MB / 0.5042 GB, free: 9.324 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)