Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_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.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001188/0.001188, allocations: 192.2 kB / 16.13 MB, free: 6.719 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.435/1.435, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.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.001257/0.001257, allocations: 51.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2846, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01128/0.2959, allocations: 9.802 MB / 334.5 MB, free: 10.14 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007744/0.3037, allocations: 3.345 MB / 337.8 MB, free: 6.965 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.3059, allocations: 55.81 kB / 337.9 MB, free: 6.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008106/0.3141, allocations: 3.631 MB / 341.5 MB, free: 3.266 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004937/0.319, allocations: 1.303 MB / 342.8 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.3216, allocations: 1.091 MB / 343.9 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01026/0.3319, allocations: 9.071 MB / 353 MB, free: 7.758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0298/0.3617, allocations: 17.29 MB / 370.3 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008214/0.37, allocations: 4.499 MB / 374.8 MB, free: 1.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01055/0.3806, allocations: 5.923 MB / 380.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004146/0.3848, allocations: 1.027 MB / 381.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006394/0.3912, allocations: 1.257 MB / 383 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005363/0.3966, allocations: 2.532 MB / 385.5 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01088/0.4075, allocations: 5.049 MB / 390.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02039/0.4279, allocations: 18.32 MB / 408.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.428, allocations: 8 kB / 408.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.428, allocations: 0 / 408.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006765/0.4286, allocations: 0 / 408.9 MB, free: 15.61 MB / 350.1 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.04166/0.4703, allocations: 12.31 MB / 421.2 MB, free: 3.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.4704, allocations: 12.03 kB / 421.2 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04773/0.5181, allocations: 8.455 MB / 429.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/0.5302, allocations: 5.38 MB / 435 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006686/0.5309, allocations: 0.6663 MB / 435.7 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003872/0.5348, allocations: 0.8633 MB / 436.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04255/0.5774, allocations: 15.97 MB / 452.5 MB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005327/0.578, allocations: 15.84 kB / 452.6 MB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004071/0.582, allocations: 372 kB / 452.9 MB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000713/0.5828, allocations: 0.5543 MB / 453.5 MB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4009/0.9837, allocations: 15.71 MB / 469.2 MB, free: 94.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07924/1.063, allocations: 48.24 MB / 0.5053 GB, free: 49.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01519/1.078, allocations: 19.33 MB / 0.5242 GB, free: 28.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004579/1.083, allocations: 3.586 MB / 0.5277 GB, free: 24.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004779/1.083, allocations: 179.7 kB / 0.5279 GB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.411e-05/1.083, allocations: 86.56 kB / 0.5279 GB, free: 24.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=468): time 6.041e-06/1.083, allocations: 0 / 0.5279 GB, free: 24.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=468): time 0.02142/1.105, allocations: 11.51 MB / 0.5392 GB, free: 12.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/1.105, allocations: 133.1 kB / 0.5393 GB, free: 12.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006535/1.112, allocations: 3.846 MB / 0.5431 GB, free: 8.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009127/1.113, allocations: 101.6 kB / 0.5432 GB, free: 8.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001959/1.114, allocations: 3.892 MB / 0.547 GB, free: 4.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001781/1.116, allocations: 1.606 MB / 0.5485 GB, free: 3.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004067/1.12, allocations: 1.464 MB / 0.55 GB, free: 1.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.552e-05/1.12, allocations: 305.1 kB / 0.5502 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006075/1.127, allocations: 3.684 MB / 0.5538 GB, free: 13.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008857/1.135, allocations: 6.526 MB / 0.5602 GB, free: 5.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01633/1.152, allocations: 10.82 MB / 0.5708 GB, free: 9.789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001214/1.152, allocations: 32 kB / 0.5708 GB, free: 9.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02779/1.18, allocations: 11.94 MB / 0.5825 GB, free: 13.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000115/1.18, allocations: 47.98 kB / 0.5825 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/1.18, allocations: 92 kB / 0.5826 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005197/1.185, allocations: 1.613 MB / 0.5842 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006574/1.192, allocations: 1.665 MB / 0.5858 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/1.211, allocations: 16.11 MB / 0.6015 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006851/1.218, allocations: 0.9484 MB / 0.6025 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001643/1.22, allocations: 364 kB / 0.6028 GB, free: 8.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007849/1.228, allocations: 3.762 MB / 0.6065 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/1.229, allocations: 391.1 kB / 0.6069 GB, free: 3.906 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2418/1.471, allocations: 8.566 MB / 0.6152 GB, free: 143.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.787e-05/1.471, allocations: 49.78 kB / 0.6153 GB, free: 143.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-05/1.471, allocations: 11.62 kB / 0.6153 GB, free: 143.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.292e-05/1.471, allocations: 23.73 kB / 0.6153 GB, free: 143.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02637/1.497, allocations: 16.92 MB / 0.6318 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/1.498, allocations: 3.812 kB / 0.6318 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003016/1.501, allocations: 0.8574 MB / 0.6327 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004266/1.505, allocations: 1.508 MB / 0.6341 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006729/1.506, allocations: 104.7 kB / 0.6342 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01505/1.521, allocations: 15.88 MB / 0.6498 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.521, allocations: 7.938 kB / 0.6498 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/1.537, allocations: 12.21 MB / 0.6617 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002429/1.54, allocations: 1.112 MB / 0.6628 GB, free: 114 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/1.541, allocations: 86 kB / 0.6628 GB, free: 113.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002765/1.543, allocations: 309.8 kB / 0.6631 GB, free: 113.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007846/1.544, allocations: 319.5 kB / 0.6634 GB, free: 113.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002829/1.545, allocations: 138.6 kB / 0.6636 GB, free: 113.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003275/1.548, allocations: 2.578 MB / 0.6661 GB, free: 110.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.548, allocations: 0 / 0.6661 GB, free: 110.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007172/1.555, allocations: 2.377 MB / 0.6684 GB, free: 108.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006741/1.556, allocations: 262.8 kB / 0.6687 GB, free: 108 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01257/1.568, allocations: 9.351 MB / 0.6778 GB, free: 98.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.568, allocations: 4 kB / 0.6778 GB, free: 98.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005892/1.574, allocations: 4.48 MB / 0.6822 GB, free: 94.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003656/1.578, allocations: 0.6927 MB / 0.6829 GB, free: 93.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02727/1.605, allocations: 20.77 MB / 0.7031 GB, free: 72.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005166/1.61, allocations: 6.042 MB / 0.709 GB, free: 66.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007443/1.618, allocations: 3.255 MB / 0.7122 GB, free: 63.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/1.619, allocations: 375.3 kB / 0.7126 GB, free: 62.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/1.619, allocations: 0 / 0.7126 GB, free: 62.81 MB / 446.1 MB Notification: Performance of Templates: time 0.2908/1.91, allocations: 65.7 MB / 0.7767 GB, free: 132.8 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)