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.001077/0.001078, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.008604/0.008605, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.391/1.391, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0004756/0.0004757, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2579, allocations: 47.6 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.009357/0.2673, allocations: 9.161 MB / 336.2 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00733/0.2747, allocations: 3.302 MB / 339.5 MB, free: 6.844 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.2768, allocations: 59.81 kB / 339.6 MB, free: 6.785 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003049/0.2799, allocations: 0.7001 MB / 340.3 MB, free: 6.082 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004859/0.2848, allocations: 1.292 MB / 341.6 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.2877, allocations: 1.075 MB / 342.6 MB, free: 3.707 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01/0.2977, allocations: 9.068 MB / 351.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03002/0.3278, allocations: 18.97 MB / 370.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005789/0.3336, allocations: 3.581 MB / 374.3 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007222/0.3408, allocations: 4.713 MB / 379 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001864/0.3427, allocations: 0.5859 MB / 379.5 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.3458, allocations: 0.8201 MB / 380.4 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002325/0.3482, allocations: 1.896 MB / 382.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007013/0.3552, allocations: 4.332 MB / 386.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01649/0.3717, allocations: 17.57 MB / 404.2 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3717, allocations: 0 / 404.2 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3718, allocations: 4 kB / 404.2 MB, free: 5.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004746/0.3722, allocations: 0 / 404.2 MB, free: 5.883 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.03026/0.4025, allocations: 10.76 MB / 414.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4026, allocations: 12.03 kB / 414.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.047/0.4496, allocations: 8.494 MB / 423.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.463, allocations: 5.56 MB / 429 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006918/0.4637, allocations: 0.6661 MB / 429.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004101/0.4678, allocations: 0.871 MB / 430.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03796/0.5058, allocations: 15.97 MB / 446.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002971/0.5062, allocations: 15.91 kB / 446.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002034/0.5082, allocations: 364 kB / 446.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005989/0.5088, allocations: 0.5621 MB / 447.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4189/0.9277, allocations: 15.71 MB / 463.2 MB, free: 94.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07111/0.9989, allocations: 48.45 MB / 0.4996 GB, free: 56.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01567/1.015, allocations: 19.31 MB / 0.5185 GB, free: 35.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004656/1.019, allocations: 3.582 MB / 0.522 GB, free: 31.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003423/1.02, allocations: 187.9 kB / 0.5222 GB, free: 31.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.944e-05/1.02, allocations: 90.5 kB / 0.5222 GB, free: 31.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=468): time 7.414e-06/1.02, allocations: 0 / 0.5222 GB, free: 31.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=468): time 0.02045/1.04, allocations: 11.59 MB / 0.5336 GB, free: 19.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/1.04, allocations: 129.1 kB / 0.5337 GB, free: 19.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005656/1.046, allocations: 3.839 MB / 0.5374 GB, free: 15.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009684/1.047, allocations: 101.7 kB / 0.5375 GB, free: 15.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001953/1.049, allocations: 3.896 MB / 0.5413 GB, free: 11.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001742/1.051, allocations: 1.604 MB / 0.5429 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007329/1.051, allocations: 0.5763 MB / 0.5435 GB, free: 9.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.248e-05/1.051, allocations: 301.1 kB / 0.5437 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004818/1.056, allocations: 3.688 MB / 0.5473 GB, free: 5.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006341/1.063, allocations: 6.523 MB / 0.5537 GB, free: 13.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/1.077, allocations: 10.82 MB / 0.5643 GB, free: 1.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/1.078, allocations: 28 kB / 0.5643 GB, free: 1.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02355/1.101, allocations: 11.94 MB / 0.576 GB, free: 5.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/1.101, allocations: 48 kB / 0.576 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/1.102, allocations: 92 kB / 0.5761 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005346/1.107, allocations: 1.613 MB / 0.5777 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007088/1.114, allocations: 1.669 MB / 0.5793 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02093/1.135, allocations: 16.22 MB / 0.5952 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00794/1.143, allocations: 0.9562 MB / 0.5961 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00179/1.145, allocations: 360 kB / 0.5964 GB, free: 15.79 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.009787/1.155, allocations: 3.758 MB / 0.6001 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/1.156, allocations: 387.1 kB / 0.6005 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02059/1.177, allocations: 8.58 MB / 0.6088 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.584e-05/1.177, allocations: 51.94 kB / 0.6089 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-05/1.177, allocations: 12 kB / 0.6089 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.479e-05/1.177, allocations: 27.91 kB / 0.6089 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3009/1.478, allocations: 16.92 MB / 0.6255 GB, free: 140.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/1.478, allocations: 3.844 kB / 0.6255 GB, free: 140.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003312/1.481, allocations: 0.8643 MB / 0.6263 GB, free: 140 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00438/1.486, allocations: 1.503 MB / 0.6278 GB, free: 139.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004001/1.486, allocations: 99.19 kB / 0.6279 GB, free: 139.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01503/1.501, allocations: 16.02 MB / 0.6435 GB, free: 128.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.501, allocations: 3.938 kB / 0.6435 GB, free: 128.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01741/1.519, allocations: 12.22 MB / 0.6554 GB, free: 120.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002755/1.521, allocations: 1.116 MB / 0.6565 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005847/1.522, allocations: 87.94 kB / 0.6566 GB, free: 119.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002335/1.524, allocations: 307.9 kB / 0.6569 GB, free: 119.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007552/1.525, allocations: 317.9 kB / 0.6572 GB, free: 119.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000249/1.525, allocations: 135.4 kB / 0.6573 GB, free: 119.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003611/1.529, allocations: 2.574 MB / 0.6599 GB, free: 117.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.529, allocations: 2.344 kB / 0.6599 GB, free: 117.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008948/1.538, allocations: 2.376 MB / 0.6622 GB, free: 114.7 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.0008947/1.539, allocations: 261.2 kB / 0.6624 GB, free: 114.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0133/1.552, allocations: 9.355 MB / 0.6716 GB, free: 105.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.552, allocations: 0 / 0.6716 GB, free: 105.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006474/1.559, allocations: 4.474 MB / 0.6759 GB, free: 101.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005027/1.564, allocations: 0.7176 MB / 0.6766 GB, free: 100.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03133/1.595, allocations: 20.8 MB / 0.6969 GB, free: 79.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00622/1.601, allocations: 6.046 MB / 0.7028 GB, free: 73.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007743/1.609, allocations: 3.259 MB / 0.706 GB, free: 70.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/1.611, allocations: 371.4 kB / 0.7064 GB, free: 69.97 MB / 446.1 MB Notification: Performance of SimCode: time 1.603e-06/1.611, allocations: 0 / 0.7064 GB, free: 69.97 MB / 446.1 MB Notification: Performance of Templates: time 0.1049/1.715, allocations: 64.4 MB / 0.7693 GB, free: 5.57 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)