Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.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.00108/0.00108, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.432/1.432, allocations: 194.3 MB / 208.4 MB, free: 6.695 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.001574/0.001575, allocations: 124.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.44e-05/2.444e-05, allocations: 0 / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07613/0.07617, allocations: 44.51 MB / 349.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3001/0.3763, allocations: 90.15 MB / 439.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.3766, allocations: 87.25 kB / 439.7 MB, free: 5.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.106/1.483, allocations: 312.6 MB / 0.7347 GB, free: 72.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.483, allocations: 0 / 0.7347 GB, free: 72.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003871/1.483, allocations: 176.8 kB / 0.7348 GB, free: 72.31 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.04107/1.524, allocations: 9.566 MB / 0.7442 GB, free: 69.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.524, allocations: 7.125 kB / 0.7442 GB, free: 69.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03675/1.561, allocations: 5.518 MB / 0.7496 GB, free: 69.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0151/1.576, allocations: 6.139 MB / 0.7556 GB, free: 68.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008515/1.577, allocations: 0.6227 MB / 0.7562 GB, free: 68.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004094/1.581, allocations: 0.8012 MB / 0.7569 GB, free: 68.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03918/1.62, allocations: 16.68 MB / 0.7732 GB, free: 67.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002767/1.621, allocations: 11.06 kB / 0.7732 GB, free: 67.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002494/1.623, allocations: 354.3 kB / 0.7736 GB, free: 67.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007903/1.624, allocations: 0.7135 MB / 0.7743 GB, free: 67.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03247/1.657, allocations: 15.99 MB / 0.7899 GB, free: 65.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1014/1.758, allocations: 51.25 MB / 0.8399 GB, free: 32.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01922/1.777, allocations: 13.71 MB / 0.8533 GB, free: 19.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01669/1.794, allocations: 9.28 MB / 0.8624 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/1.795, allocations: 317.8 kB / 0.8627 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/1.795, allocations: 120.7 kB / 0.8628 GB, free: 10.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=968): time 2.121e-05/1.796, allocations: 0 / 0.8628 GB, free: 10.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=968): time 0.338/2.134, allocations: 17.27 MB / 0.8797 GB, free: 64.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/2.134, allocations: 160.4 kB / 0.8798 GB, free: 64.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/2.137, allocations: 1.621 MB / 0.8814 GB, free: 64.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002344/2.139, allocations: 147.8 kB / 0.8816 GB, free: 64.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001753/2.141, allocations: 2.534 MB / 0.884 GB, free: 63.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005209/2.146, allocations: 3.152 MB / 0.8871 GB, free: 61.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001657/2.148, allocations: 131.2 kB / 0.8872 GB, free: 61.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009761/2.149, allocations: 0.6444 MB / 0.8879 GB, free: 61.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01329/2.162, allocations: 6.449 MB / 0.8942 GB, free: 61.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01396/2.176, allocations: 7.066 MB / 0.9011 GB, free: 61.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01406/2.19, allocations: 7.46 MB / 0.9083 GB, free: 60.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.259e-05/2.191, allocations: 0 / 0.9083 GB, free: 60.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.04104/2.232, allocations: 17.97 MB / 0.9259 GB, free: 60.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.131e-05/2.232, allocations: 10.94 kB / 0.9259 GB, free: 60.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.058e-05/2.232, allocations: 2.938 kB / 0.9259 GB, free: 60.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01469/2.246, allocations: 6.579 MB / 0.9323 GB, free: 58.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006768/2.253, allocations: 1.174 MB / 0.9335 GB, free: 58.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01732/2.271, allocations: 12.72 MB / 0.9459 GB, free: 52.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00583/2.277, allocations: 0.7838 MB / 0.9467 GB, free: 52.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001256/2.278, allocations: 277.9 kB / 0.9469 GB, free: 51.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 520 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of prepare postOptimizeDAE: time 0.001468/2.279, allocations: 420.2 kB / 0.9473 GB, free: 51.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/2.28, allocations: 413.4 kB / 0.9477 GB, free: 51.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02977/2.31, allocations: 19.33 MB / 0.9666 GB, free: 43.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003004/2.311, allocations: 275.5 kB / 0.9669 GB, free: 43.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/2.311, allocations: 0 / 0.9669 GB, free: 43.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001098/2.311, allocations: 39.56 kB / 0.9669 GB, free: 43.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0567/2.367, allocations: 34.08 MB / 1 GB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001104/2.368, allocations: 0 / 1 GB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006035/2.374, allocations: 1.109 MB / 1.001 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01412/2.388, allocations: 6.584 MB / 1.008 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002541/2.39, allocations: 208.5 kB / 1.008 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/2.403, allocations: 12.68 MB / 1.02 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/2.403, allocations: 4 kB / 1.02 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3627/2.766, allocations: 30.42 MB / 1.05 GB, free: 79.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007272/2.773, allocations: 2.075 MB / 1.052 GB, free: 79.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002133/2.776, allocations: 127.7 kB / 1.052 GB, free: 79.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004158/2.78, allocations: 421.7 kB / 1.053 GB, free: 79.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001491/2.781, allocations: 0.7056 MB / 1.053 GB, free: 79.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006646/2.782, allocations: 258.5 kB / 1.053 GB, free: 79.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002181/2.784, allocations: 1.259 MB / 1.055 GB, free: 79.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.21e-07/2.784, allocations: 2.344 kB / 1.055 GB, free: 79.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007733/2.792, allocations: 2.39 MB / 1.057 GB, free: 79.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (574): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.001735/2.794, allocations: 355.3 kB / 1.057 GB, free: 79.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02864/2.822, allocations: 15.55 MB / 1.073 GB, free: 79.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/2.822, allocations: 1.906 kB / 1.073 GB, free: 79.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01701/2.839, allocations: 8.347 MB / 1.081 GB, free: 79.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005821/2.845, allocations: 0.5899 MB / 1.081 GB, free: 79.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04157/2.887, allocations: 19.84 MB / 1.101 GB, free: 76.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009059/2.896, allocations: 6.33 MB / 1.107 GB, free: 75.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007111/2.903, allocations: 1.817 MB / 1.109 GB, free: 75.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/2.905, allocations: 322 kB / 1.109 GB, free: 75.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/2.905, allocations: 0 / 1.109 GB, free: 75.83 MB / 442.7 MB Notification: Performance of Templates: time 0.4583/3.363, allocations: 127 MB / 1.233 GB, free: 81.04 MB / 442.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)