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.0009803/0.0009803, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001063/0.001064, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004336/0.0004337, allocations: 14.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2524, allocations: 47.58 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.008682/0.2611, allocations: 7.919 MB / 334.4 MB, free: 11.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006854/0.268, allocations: 3.14 MB / 337.5 MB, free: 8.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.2691, allocations: 59.81 kB / 337.6 MB, free: 8.371 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.2709, allocations: 0.5674 MB / 338.1 MB, free: 7.801 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003311/0.2742, allocations: 1.134 MB / 339.3 MB, free: 6.664 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.2762, allocations: 0.9118 MB / 340.2 MB, free: 5.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01643/0.2927, allocations: 12.23 MB / 352.4 MB, free: 9.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02528/0.318, allocations: 15.2 MB / 367.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005715/0.3238, allocations: 3.302 MB / 370.9 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007284/0.3311, allocations: 4.102 MB / 375 MB, free: 2.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001843/0.333, allocations: 0.5781 MB / 375.6 MB, free: 2.199 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003554/0.3365, allocations: 0.7732 MB / 376.4 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002238/0.3388, allocations: 1.803 MB / 378.2 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002917/0.3417, allocations: 1.779 MB / 380 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01718/0.3589, allocations: 15.67 MB / 395.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3589, allocations: 0 / 395.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.359, allocations: 0 / 395.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005197/0.3595, allocations: 0 / 395.6 MB, free: 14.12 MB / 334.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.02971/0.3892, allocations: 10.81 MB / 406.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3893, allocations: 12.03 kB / 406.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04696/0.4362, allocations: 8.533 MB / 415 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01472/0.451, allocations: 5.483 MB / 420.5 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007749/0.4518, allocations: 0.6623 MB / 421.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004167/0.456, allocations: 0.867 MB / 422 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04048/0.4965, allocations: 15.84 MB / 437.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004104/0.4969, allocations: 11.89 kB / 437.8 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002892/0.4998, allocations: 364 kB / 438.2 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000565/0.5004, allocations: 0.5582 MB / 438.8 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02954/0.53, allocations: 15.64 MB / 454.4 MB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4175/0.9475, allocations: 48.42 MB / 0.491 GB, free: 65.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01408/0.9616, allocations: 19.29 MB / 0.5099 GB, free: 43.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005325/0.9622, allocations: 180.5 kB / 0.51 GB, free: 43.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/0.9623, allocations: 82.56 kB / 0.5101 GB, free: 43.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=468): time 6.522e-06/0.9623, allocations: 0 / 0.5101 GB, free: 43.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=468): time 0.02021/0.9825, allocations: 11.5 MB / 0.5213 GB, free: 31.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.9826, allocations: 125.1 kB / 0.5215 GB, free: 31.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006445/0.9891, allocations: 3.815 MB / 0.5252 GB, free: 27.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006596/0.9898, allocations: 101.7 kB / 0.5253 GB, free: 27.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001912/0.9917, allocations: 3.892 MB / 0.5291 GB, free: 23.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001541/0.9932, allocations: 1.607 MB / 0.5307 GB, free: 22.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00076/0.994, allocations: 152 kB / 0.5308 GB, free: 22.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004796/0.9945, allocations: 0.6078 MB / 0.5314 GB, free: 21.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005512/1, allocations: 3.656 MB / 0.535 GB, free: 17.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006623/1.007, allocations: 6.465 MB / 0.5413 GB, free: 10.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006876/1.014, allocations: 5.196 MB / 0.5464 GB, free: 4.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.698e-05/1.014, allocations: 28 kB / 0.5464 GB, free: 4.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02173/1.035, allocations: 11.87 MB / 0.558 GB, free: 8.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/1.036, allocations: 47.98 kB / 0.558 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002085/1.036, allocations: 92 kB / 0.5581 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005088/1.041, allocations: 1.624 MB / 0.5597 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00654/1.047, allocations: 1.665 MB / 0.5613 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/1.067, allocations: 16.54 MB / 0.5775 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006695/1.074, allocations: 0.9561 MB / 0.5784 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001647/1.076, allocations: 364 kB / 0.5788 GB, free: 2.75 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008184/1.084, allocations: 3.754 MB / 0.5824 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/1.085, allocations: 395.1 kB / 0.5828 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/1.102, allocations: 8.553 MB / 0.5912 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-05/1.102, allocations: 48 kB / 0.5912 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-05/1.102, allocations: 12 kB / 0.5912 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.266e-05/1.102, allocations: 27.91 kB / 0.5912 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03615/1.138, allocations: 16.89 MB / 0.6077 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/1.138, allocations: 4 kB / 0.6077 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003874/1.142, allocations: 0.8581 MB / 0.6086 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004935/1.147, allocations: 1.507 MB / 0.61 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009823/1.148, allocations: 104 kB / 0.6101 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2374/1.385, allocations: 16.34 MB / 0.6261 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.386, allocations: 6.734 kB / 0.6261 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01708/1.403, allocations: 12.36 MB / 0.6382 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002723/1.405, allocations: 1.117 MB / 0.6393 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000794/1.406, allocations: 91.55 kB / 0.6394 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002459/1.409, allocations: 304.6 kB / 0.6396 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007204/1.409, allocations: 320.5 kB / 0.64 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/1.41, allocations: 136.1 kB / 0.6401 GB, free: 130.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003613/1.413, allocations: 2.545 MB / 0.6426 GB, free: 129.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/1.413, allocations: 0 / 0.6426 GB, free: 129.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0076/1.421, allocations: 2.379 MB / 0.6449 GB, free: 128.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006953/1.422, allocations: 264.8 kB / 0.6451 GB, free: 128.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01491/1.437, allocations: 9.319 MB / 0.6542 GB, free: 121.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.437, allocations: 0 / 0.6542 GB, free: 121.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006963/1.444, allocations: 4.452 MB / 0.6586 GB, free: 117.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003729/1.447, allocations: 0.6433 MB / 0.6592 GB, free: 116.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03246/1.48, allocations: 19.94 MB / 0.6787 GB, free: 98.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00874/1.489, allocations: 6.186 MB / 0.6847 GB, free: 92.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008828/1.497, allocations: 3.255 MB / 0.6879 GB, free: 88.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001973/1.499, allocations: 375.3 kB / 0.6883 GB, free: 88.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/1.499, allocations: 0 / 0.6883 GB, free: 88.52 MB / 446.1 MB Notification: Performance of Templates: time 0.0992/1.599, allocations: 63.02 MB / 0.7498 GB, free: 25.5 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: