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.008614/0.008615, allocations: 163.5 kB / 15.11 MB, free: 5.973 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.402/1.402, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001353/0.001353, allocations: 99.34 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003053, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2464, allocations: 38.76 MB / 312.9 MB, free: 38.82 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.3511, allocations: 74.19 MB / 387.1 MB, free: 348 kB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.3514, allocations: 83.95 kB / 387.2 MB, free: 264 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07528/0.4267, allocations: 29.6 MB / 416.8 MB, free: 2.371 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4267, allocations: 7.938 kB / 416.8 MB, free: 2.363 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.804e-05/0.4268, allocations: 35.94 kB / 416.8 MB, free: 2.328 MB / 314.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.004543/0.4314, allocations: 1.805 MB / 418.6 MB, free: 480 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.4315, allocations: 8.031 kB / 418.6 MB, free: 472 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008199/0.4323, allocations: 237.8 kB / 418.8 MB, free: 232 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.195/0.6273, allocations: 1.055 MB / 419.9 MB, free: 75.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.6275, allocations: 98.08 kB / 420 MB, free: 75.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000312/0.6278, allocations: 126.6 kB / 420.1 MB, free: 75.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003284/0.6311, allocations: 1.736 MB / 421.9 MB, free: 75.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.6312, allocations: 0 / 421.9 MB, free: 75.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.6313, allocations: 52.59 kB / 421.9 MB, free: 75.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-05/0.6314, allocations: 41.5 kB / 422 MB, free: 75.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.634, allocations: 1.465 MB / 423.4 MB, free: 75.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00877/0.6428, allocations: 5.231 MB / 428.6 MB, free: 73.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.6442, allocations: 1.088 MB / 429.7 MB, free: 73.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.6442, allocations: 12.41 kB / 429.7 MB, free: 73.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.6442, allocations: 42.12 kB / 429.8 MB, free: 73.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.296e-06/0.6443, allocations: 0 / 429.8 MB, free: 73.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.003007/0.6473, allocations: 1.372 MB / 431.2 MB, free: 73.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.6473, allocations: 82.89 kB / 431.2 MB, free: 73.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.6484, allocations: 0.9366 MB / 432.2 MB, free: 72.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.6485, allocations: 31.52 kB / 432.2 MB, free: 72.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/0.6489, allocations: 0.6558 MB / 432.9 MB, free: 72.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.649, allocations: 177 kB / 433 MB, free: 72.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.649, allocations: 15.12 kB / 433.1 MB, free: 72.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.6491, allocations: 334.8 kB / 433.4 MB, free: 72.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.6496, allocations: 350.3 kB / 433.7 MB, free: 72.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005702/0.6502, allocations: 0.4964 MB / 434.2 MB, free: 71.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.6507, allocations: 419.1 kB / 434.6 MB, free: 71.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6507, allocations: 5.781 kB / 434.6 MB, free: 71.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001277/0.652, allocations: 0.9602 MB / 435.6 MB, free: 71.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.652, allocations: 7.875 kB / 435.6 MB, free: 71.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.6521, allocations: 3.375 kB / 435.6 MB, free: 71.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.6521, allocations: 7.625 kB / 435.6 MB, free: 71.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006596/0.6527, allocations: 180.7 kB / 435.8 MB, free: 71.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.6528, allocations: 11.08 kB / 435.8 MB, free: 71.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.6533, allocations: 82.55 kB / 435.9 MB, free: 71.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.665e-05/0.6534, allocations: 26.53 kB / 435.9 MB, free: 71.39 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 () * Number of clocked 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.0008167/0.6542, allocations: 0.5225 MB / 436.4 MB, free: 71.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.6544, allocations: 95.52 kB / 436.5 MB, free: 71.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.6546, allocations: 117 kB / 436.6 MB, free: 71.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.6546, allocations: 3.938 kB / 436.6 MB, free: 71.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/0.6546, allocations: 3.969 kB / 436.6 MB, free: 71.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.6546, allocations: 4.25 kB / 436.6 MB, free: 71.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/0.6579, allocations: 2.249 MB / 438.9 MB, free: 70.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.658, allocations: 3.781 kB / 438.9 MB, free: 70.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.6584, allocations: 87.31 kB / 439 MB, free: 70.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003904/0.6588, allocations: 154.6 kB / 439.1 MB, free: 69.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.6588, allocations: 14.58 kB / 439.1 MB, free: 69.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/0.6612, allocations: 2.677 MB / 441.8 MB, free: 68.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6612, allocations: 5.156 kB / 441.8 MB, free: 68.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.6631, allocations: 1.469 MB / 443.3 MB, free: 67.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.6635, allocations: 261 kB / 443.6 MB, free: 67.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.751e-05/0.6636, allocations: 22.94 kB / 443.6 MB, free: 67.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.6641, allocations: 59.12 kB / 443.6 MB, free: 67.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.6643, allocations: 50.72 kB / 443.7 MB, free: 67.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.6643, allocations: 14.34 kB / 443.7 MB, free: 67.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008472/0.6652, allocations: 0.7372 MB / 444.4 MB, free: 66.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6652, allocations: 0 / 444.4 MB, free: 66.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009905/0.6662, allocations: 340.4 kB / 444.8 MB, free: 66.76 MB / 314.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 () * Number of clocked 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.0002402/0.6664, allocations: 137.2 kB / 444.9 MB, free: 66.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.6675, allocations: 0.7308 MB / 445.6 MB, free: 66.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.6675, allocations: 7.719 kB / 445.6 MB, free: 66.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000858/0.6684, allocations: 0.553 MB / 446.2 MB, free: 66.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007152/0.6691, allocations: 169.3 kB / 446.4 MB, free: 66.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.6732, allocations: 3.24 MB / 449.6 MB, free: 64.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000937/0.6741, allocations: 1.501 MB / 451.1 MB, free: 63.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000502/0.6746, allocations: 200.7 kB / 451.3 MB, free: 63.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.6748, allocations: 58.39 kB / 451.4 MB, free: 63.43 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6748, allocations: 0 / 451.4 MB, free: 63.43 MB / 314.7 MB Notification: Performance of Templates: time 0.01719/0.692, allocations: 10.7 MB / 462 MB, free: 57.25 MB / 314.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)