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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 111.6 kB / 16.62 MB, free: 6.812 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.00159/0.00159, allocations: 186 kB / 17.55 MB, free: 5.934 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.432/1.432, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.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.00119/0.00119, allocations: 55.92 kB / 279.5 MB, free: 3.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07489/0.07609, allocations: 46.62 MB / 326.2 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.009563/0.08568, allocations: 9.79 MB / 335.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005498/0.09121, allocations: 3.319 MB / 339.3 MB, free: 7.605 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008187/0.09205, allocations: 55.81 kB / 339.3 MB, free: 7.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007707/0.09979, allocations: 3.627 MB / 342.9 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003838/0.1036, allocations: 1.3 MB / 344.2 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.1058, allocations: 1.068 MB / 345.3 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008313/0.1141, allocations: 9.107 MB / 354.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02683/0.141, allocations: 23.45 MB / 377.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1515/0.2925, allocations: 5.11 MB / 383 MB, free: 29.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008687/0.3012, allocations: 6.176 MB / 389.2 MB, free: 28.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003871/0.3051, allocations: 1.396 MB / 390.5 MB, free: 28.87 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005577/0.3107, allocations: 1.64 MB / 392.2 MB, free: 28.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004083/0.3148, allocations: 2.923 MB / 395.1 MB, free: 27.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007553/0.3224, allocations: 5.454 MB / 400.6 MB, free: 23.97 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.334, allocations: 18.6 MB / 419.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.334, allocations: 0 / 419.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.334, allocations: 4.031 kB / 419.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004416/0.3345, allocations: 3.938 kB / 419.2 MB, free: 11.92 MB / 318.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.03027/0.3648, allocations: 12.31 MB / 431.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.3648, allocations: 11.89 kB / 431.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04514/0.41, allocations: 8.454 MB / 440 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01165/0.4216, allocations: 5.382 MB / 445.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006102/0.4223, allocations: 0.6637 MB / 446 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003241/0.4255, allocations: 0.8663 MB / 446.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03518/0.4607, allocations: 15.98 MB / 462.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002357/0.461, allocations: 15.89 kB / 462.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001721/0.4627, allocations: 362.8 kB / 463.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004893/0.4632, allocations: 0.5544 MB / 463.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02783/0.4911, allocations: 15.71 MB / 479.5 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07367/0.5648, allocations: 48.22 MB / 0.5153 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1778/0.7427, allocations: 19.33 MB / 0.5342 GB, free: 128.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004855/0.7475, allocations: 3.584 MB / 0.5377 GB, free: 128.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003832/0.7479, allocations: 183.1 kB / 0.5379 GB, free: 128 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.748, allocations: 85.62 kB / 0.538 GB, free: 128 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 6.342e-06/0.748, allocations: 0 / 0.538 GB, free: 128 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.02166/0.7697, allocations: 11.52 MB / 0.5492 GB, free: 124.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.7698, allocations: 132.5 kB / 0.5493 GB, free: 124.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005258/0.775, allocations: 3.834 MB / 0.5531 GB, free: 123 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006678/0.7757, allocations: 102.4 kB / 0.5532 GB, free: 122.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.7773, allocations: 3.894 MB / 0.557 GB, free: 120.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001392/0.7787, allocations: 1.61 MB / 0.5586 GB, free: 118.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/0.7806, allocations: 1.464 MB / 0.56 GB, free: 118.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.031e-05/0.7807, allocations: 305.1 kB / 0.5603 GB, free: 117.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004143/0.7848, allocations: 3.691 MB / 0.5639 GB, free: 116.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00595/0.7908, allocations: 6.514 MB / 0.5702 GB, free: 111.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009676/0.8005, allocations: 10.83 MB / 0.5808 GB, free: 104.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.695e-05/0.8006, allocations: 32 kB / 0.5808 GB, free: 104.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01566/0.8162, allocations: 11.94 MB / 0.5925 GB, free: 93.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/0.8163, allocations: 47.98 kB / 0.5926 GB, free: 93.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/0.8164, allocations: 92 kB / 0.5926 GB, free: 93.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004078/0.8205, allocations: 1.617 MB / 0.5942 GB, free: 91.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005444/0.826, allocations: 1.669 MB / 0.5958 GB, free: 89.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01519/0.8412, allocations: 17.64 MB / 0.6131 GB, free: 71.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005472/0.8467, allocations: 0.9563 MB / 0.614 GB, free: 70.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/0.8478, allocations: 360 kB / 0.6143 GB, free: 70.17 MB / 430.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.005874/0.8537, allocations: 3.747 MB / 0.618 GB, free: 66.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/0.8549, allocations: 395.1 kB / 0.6184 GB, free: 66.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/0.8681, allocations: 8.569 MB / 0.6268 GB, free: 57.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/0.8681, allocations: 48 kB / 0.6268 GB, free: 57.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.33e-05/0.8682, allocations: 16 kB / 0.6268 GB, free: 57.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.844e-05/0.8682, allocations: 27.91 kB / 0.6268 GB, free: 57.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02811/0.8964, allocations: 16.93 MB / 0.6434 GB, free: 40.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.291e-05/0.8964, allocations: 7.938 kB / 0.6434 GB, free: 40.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003318/0.8998, allocations: 0.8607 MB / 0.6442 GB, free: 39.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004148/0.9039, allocations: 1.514 MB / 0.6457 GB, free: 37.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006448/0.9046, allocations: 99.97 kB / 0.6458 GB, free: 37.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/0.9195, allocations: 17.43 MB / 0.6628 GB, free: 19.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.9196, allocations: 3.938 kB / 0.6628 GB, free: 19.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01848/0.9381, allocations: 12.22 MB / 0.6748 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00239/0.9405, allocations: 1.092 MB / 0.6758 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001388/0.9419, allocations: 91.92 kB / 0.6759 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003048/0.945, allocations: 307.7 kB / 0.6762 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008854/0.9459, allocations: 319.6 kB / 0.6765 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002737/0.9462, allocations: 132 kB / 0.6766 GB, free: 5.133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003548/0.9497, allocations: 2.578 MB / 0.6792 GB, free: 2.559 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.9497, allocations: 0 / 0.6792 GB, free: 2.559 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006893/0.9566, allocations: 2.38 MB / 0.6815 GB, free: 176 kB / 430.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.0006587/0.9573, allocations: 254.4 kB / 0.6817 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02729/0.9846, allocations: 15.48 MB / 0.6968 GB, free: 368 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.9846, allocations: 6.672 kB / 0.6969 GB, free: 364 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1798/1.164, allocations: 4.467 MB / 0.7012 GB, free: 137.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004389/1.169, allocations: 0.729 MB / 0.7019 GB, free: 137.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03351/1.202, allocations: 20.75 MB / 0.7222 GB, free: 129.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008619/1.211, allocations: 6.047 MB / 0.7281 GB, free: 127.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.009205/1.22, allocations: 3.256 MB / 0.7313 GB, free: 126.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001911/1.222, allocations: 376.3 kB / 0.7316 GB, free: 126.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.402e-06/1.222, allocations: 0 / 0.7316 GB, free: 126.8 MB / 446.1 MB Notification: Performance of Templates: time 0.09844/1.321, allocations: 68.09 MB / 0.7981 GB, free: 65.69 MB / 446.1 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)