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.001502/0.001502, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.00176/0.00176, allocations: 194.1 kB / 16.25 MB, free: 6.633 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.457/1.457, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.002038/0.002038, allocations: 55.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2811, allocations: 46.63 MB / 324.9 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01133/0.2925, allocations: 9.794 MB / 334.7 MB, free: 10.12 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007992/0.3005, allocations: 3.314 MB / 338 MB, free: 6.949 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002832/0.3035, allocations: 55.81 kB / 338 MB, free: 6.895 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008808/0.3123, allocations: 3.631 MB / 341.7 MB, free: 3.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005144/0.3175, allocations: 1.3 MB / 343 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.3202, allocations: 1.067 MB / 344 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.3309, allocations: 9.1 MB / 353.1 MB, free: 7.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03159/0.3625, allocations: 23.45 MB / 376.6 MB, free: 164 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008194/0.3708, allocations: 5.124 MB / 381.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01449/0.3853, allocations: 6.165 MB / 387.9 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005019/0.3903, allocations: 1.398 MB / 389.3 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007113/0.3975, allocations: 1.633 MB / 390.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005617/0.4031, allocations: 2.927 MB / 393.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01184/0.415, allocations: 5.455 MB / 399.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0219/0.4369, allocations: 18.61 MB / 417.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.437, allocations: 0 / 417.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.437, allocations: 0 / 417.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006102/0.4376, allocations: 0 / 417.9 MB, free: 6.73 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.04374/0.4813, allocations: 12.31 MB / 430.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.418e-05/0.4814, allocations: 11.89 kB / 430.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04801/0.5295, allocations: 8.455 MB / 438.7 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01514/0.5447, allocations: 5.38 MB / 444 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008452/0.5455, allocations: 0.6585 MB / 444.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005012/0.5506, allocations: 0.8671 MB / 445.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4708/1.021, allocations: 15.97 MB / 461.5 MB, free: 94.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001028/1.023, allocations: 13.84 kB / 461.6 MB, free: 94.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004927/1.027, allocations: 370.5 kB / 461.9 MB, free: 94.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001119/1.029, allocations: 0.5589 MB / 462.5 MB, free: 94.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03714/1.066, allocations: 15.72 MB / 478.2 MB, free: 87.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09082/1.157, allocations: 48.21 MB / 0.5141 GB, free: 40.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01822/1.175, allocations: 19.33 MB / 0.5329 GB, free: 19.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005333/1.18, allocations: 3.586 MB / 0.5364 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006099/1.181, allocations: 180.4 kB / 0.5366 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.328e-05/1.181, allocations: 86.56 kB / 0.5367 GB, free: 15.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=468): time 7.474e-06/1.181, allocations: 0 / 0.5367 GB, free: 15.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=468): time 0.02327/1.204, allocations: 11.51 MB / 0.5479 GB, free: 3.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/1.204, allocations: 125.1 kB / 0.5481 GB, free: 3.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007693/1.212, allocations: 3.842 MB / 0.5518 GB, free: 4 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001098/1.213, allocations: 101.7 kB / 0.5519 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003495/1.217, allocations: 3.891 MB / 0.5557 GB, free: 11.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002753/1.22, allocations: 1.602 MB / 0.5573 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00527/1.225, allocations: 1.472 MB / 0.5587 GB, free: 8.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/1.225, allocations: 301.1 kB / 0.559 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006839/1.232, allocations: 3.688 MB / 0.5626 GB, free: 4.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009553/1.241, allocations: 6.526 MB / 0.569 GB, free: 13.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0175/1.259, allocations: 10.82 MB / 0.5795 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001753/1.259, allocations: 35.94 kB / 0.5796 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02663/1.286, allocations: 11.94 MB / 0.5912 GB, free: 4.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/1.286, allocations: 48 kB / 0.5913 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002186/1.286, allocations: 92.31 kB / 0.5914 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005097/1.291, allocations: 1.617 MB / 0.5929 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006742/1.298, allocations: 1.673 MB / 0.5946 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2728/1.571, allocations: 17.64 MB / 0.6118 GB, free: 139.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006569/1.578, allocations: 0.9547 MB / 0.6127 GB, free: 139.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00174/1.579, allocations: 358.2 kB / 0.6131 GB, free: 139.3 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.007902/1.587, allocations: 3.753 MB / 0.6167 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/1.588, allocations: 396.1 kB / 0.6171 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/1.601, allocations: 8.569 MB / 0.6255 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/1.601, allocations: 50.78 kB / 0.6255 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-05/1.601, allocations: 13.69 kB / 0.6256 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.732e-05/1.601, allocations: 23.2 kB / 0.6256 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.025/1.626, allocations: 16.93 MB / 0.6421 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/1.626, allocations: 3.812 kB / 0.6421 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003123/1.629, allocations: 0.8614 MB / 0.643 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003975/1.633, allocations: 1.519 MB / 0.6444 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003146/1.634, allocations: 106.2 kB / 0.6445 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01453/1.648, allocations: 17.43 MB / 0.6616 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.648, allocations: 11.94 kB / 0.6616 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/1.663, allocations: 12.21 MB / 0.6735 GB, free: 102.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00234/1.666, allocations: 1.1 MB / 0.6746 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000591/1.666, allocations: 91.03 kB / 0.6747 GB, free: 101.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/1.668, allocations: 307.6 kB / 0.675 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007373/1.669, allocations: 314.8 kB / 0.6753 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002464/1.669, allocations: 140 kB / 0.6754 GB, free: 100.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003105/1.673, allocations: 2.574 MB / 0.6779 GB, free: 97.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.673, allocations: 0 / 0.6779 GB, free: 97.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00659/1.679, allocations: 2.377 MB / 0.6802 GB, free: 95.43 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.0005411/1.68, allocations: 262.9 kB / 0.6805 GB, free: 95.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02326/1.703, allocations: 15.47 MB / 0.6956 GB, free: 79.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/1.703, allocations: 64 / 0.6956 GB, free: 79.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005504/1.709, allocations: 4.476 MB / 0.7 GB, free: 75.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003575/1.712, allocations: 0.7412 MB / 0.7007 GB, free: 74.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02663/1.739, allocations: 20.74 MB / 0.7209 GB, free: 53.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004787/1.744, allocations: 6.048 MB / 0.7268 GB, free: 47.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007092/1.751, allocations: 3.251 MB / 0.73 GB, free: 44.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.752, allocations: 375.3 kB / 0.7304 GB, free: 43.87 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/1.752, allocations: 0 / 0.7304 GB, free: 43.87 MB / 446.1 MB Notification: Performance of Templates: time 0.3044/2.056, allocations: 68.1 MB / 0.7969 GB, free: 146.4 MB / 462.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)