Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001412/0.001412, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001721/0.001721, allocations: 195.4 kB / 16.14 MB, free: 6.734 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.338/1.338, 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.001795/0.001795, allocations: 51.94 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2731, allocations: 46.62 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01429/0.2875, allocations: 9.798 MB / 334.5 MB, free: 10.12 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.2977, allocations: 3.348 MB / 337.8 MB, free: 6.945 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/0.3005, allocations: 55.81 kB / 337.9 MB, free: 6.891 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01088/0.3115, allocations: 3.619 MB / 341.5 MB, free: 3.258 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007/0.3185, allocations: 1.303 MB / 342.8 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003634/0.3221, allocations: 1.11 MB / 343.9 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01434/0.3365, allocations: 9.068 MB / 353 MB, free: 7.734 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03598/0.3725, allocations: 17.28 MB / 370.3 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009709/0.3823, allocations: 4.499 MB / 374.8 MB, free: 1.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009632/0.392, allocations: 5.927 MB / 380.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003373/0.3954, allocations: 1.023 MB / 381.7 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005821/0.4013, allocations: 1.261 MB / 383 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004707/0.406, allocations: 2.528 MB / 385.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01156/0.4176, allocations: 5.045 MB / 390.6 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0219/0.4396, allocations: 18.33 MB / 408.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.4396, allocations: 0 / 408.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4396, allocations: 0 / 408.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006081/0.4403, allocations: 0 / 408.9 MB, free: 15.58 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.04002/0.4803, allocations: 12.3 MB / 421.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.4804, allocations: 16.03 kB / 421.2 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04698/0.5274, allocations: 8.459 MB / 429.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/0.5408, allocations: 5.376 MB / 435 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007945/0.5417, allocations: 0.6663 MB / 435.7 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004692/0.5464, allocations: 0.8633 MB / 436.6 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04476/0.5912, allocations: 15.98 MB / 452.5 MB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003642/0.5916, allocations: 7.906 kB / 452.6 MB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003356/0.5949, allocations: 372 kB / 452.9 MB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006828/0.5956, allocations: 0.5582 MB / 453.5 MB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4122/1.008, allocations: 15.71 MB / 469.2 MB, free: 94.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0736/1.081, allocations: 48.24 MB / 0.5053 GB, free: 49.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01679/1.098, allocations: 19.33 MB / 0.5242 GB, free: 28.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005365/1.104, allocations: 3.586 MB / 0.5277 GB, free: 24.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/1.104, allocations: 179.7 kB / 0.5279 GB, free: 24.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.167e-05/1.104, allocations: 82.56 kB / 0.5279 GB, free: 24.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=468): time 9.217e-06/1.105, allocations: 0 / 0.5279 GB, free: 24.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=468): time 0.02241/1.127, allocations: 11.52 MB / 0.5392 GB, free: 12.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.789e-05/1.127, allocations: 125.1 kB / 0.5393 GB, free: 12.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009314/1.136, allocations: 3.846 MB / 0.5431 GB, free: 8.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009976/1.137, allocations: 97.7 kB / 0.5432 GB, free: 8.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00249/1.14, allocations: 3.889 MB / 0.547 GB, free: 4.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002178/1.142, allocations: 1.614 MB / 0.5485 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004683/1.147, allocations: 1.468 MB / 0.55 GB, free: 1.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.135e-05/1.147, allocations: 305.1 kB / 0.5503 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00709/1.154, allocations: 3.684 MB / 0.5538 GB, free: 13.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009525/1.164, allocations: 6.526 MB / 0.5602 GB, free: 5.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01639/1.18, allocations: 10.82 MB / 0.5708 GB, free: 9.711 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001314/1.18, allocations: 24 kB / 0.5708 GB, free: 9.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0268/1.207, allocations: 11.94 MB / 0.5825 GB, free: 13.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/1.207, allocations: 47.98 kB / 0.5825 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/1.207, allocations: 95.94 kB / 0.5826 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005251/1.213, allocations: 1.62 MB / 0.5842 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007119/1.22, allocations: 1.661 MB / 0.5858 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02204/1.242, allocations: 16.1 MB / 0.6015 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00774/1.25, allocations: 0.9523 MB / 0.6025 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002183/1.252, allocations: 360 kB / 0.6028 GB, free: 8.004 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.0103/1.262, allocations: 3.762 MB / 0.6065 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001681/1.264, allocations: 387.1 kB / 0.6069 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.274/1.538, allocations: 8.562 MB / 0.6152 GB, free: 143 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.634e-05/1.538, allocations: 49.03 kB / 0.6153 GB, free: 143 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.605e-05/1.538, allocations: 12.47 kB / 0.6153 GB, free: 143 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.173e-05/1.538, allocations: 26.67 kB / 0.6153 GB, free: 143 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02723/1.565, allocations: 16.93 MB / 0.6318 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/1.565, allocations: 3.969 kB / 0.6318 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003073/1.568, allocations: 0.8616 MB / 0.6327 GB, free: 137.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004225/1.573, allocations: 1.501 MB / 0.6341 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003038/1.573, allocations: 104.3 kB / 0.6342 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/1.589, allocations: 15.89 MB / 0.6498 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.589, allocations: 3.719 kB / 0.6498 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02174/1.61, allocations: 12.21 MB / 0.6617 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002892/1.613, allocations: 1.108 MB / 0.6628 GB, free: 113.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001379/1.615, allocations: 88 kB / 0.6629 GB, free: 113.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00319/1.618, allocations: 303 kB / 0.6632 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001144/1.619, allocations: 323.2 kB / 0.6635 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005263/1.62, allocations: 136 kB / 0.6636 GB, free: 113.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005021/1.625, allocations: 2.574 MB / 0.6661 GB, free: 110.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.625, allocations: 0 / 0.6661 GB, free: 110.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008854/1.634, allocations: 2.377 MB / 0.6684 GB, free: 108.1 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.0009879/1.635, allocations: 257.4 kB / 0.6687 GB, free: 107.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01519/1.65, allocations: 9.347 MB / 0.6778 GB, free: 98.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.65, allocations: 0 / 0.6778 GB, free: 98.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007282/1.657, allocations: 4.477 MB / 0.6822 GB, free: 93.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005762/1.663, allocations: 0.6974 MB / 0.6829 GB, free: 93.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03316/1.696, allocations: 20.76 MB / 0.7031 GB, free: 72.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004918/1.701, allocations: 6.046 MB / 0.709 GB, free: 66.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007672/1.709, allocations: 3.255 MB / 0.7122 GB, free: 63.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.71, allocations: 379.3 kB / 0.7126 GB, free: 62.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.205e-06/1.71, allocations: 4 kB / 0.7126 GB, free: 62.73 MB / 446.1 MB Notification: Performance of Templates: time 0.3116/2.022, allocations: 65.71 MB / 0.7767 GB, free: 132.8 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)