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.000889/0.0008892, allocations: 91.97 kB / 16.3 MB, free: 5.992 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.0008626/0.000863, allocations: 182.1 kB / 17.2 MB, free: 5.906 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.344/1.344, allocations: 205.4 MB / 223.4 MB, free: 5.52 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.0005505/0.0005509, allocations: 12 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2208, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.009574/0.2304, allocations: 7.929 MB / 335.6 MB, free: 11.28 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006544/0.237, allocations: 3.132 MB / 338.8 MB, free: 8.441 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.2384, allocations: 59.81 kB / 338.8 MB, free: 8.383 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.24, allocations: 0.5636 MB / 339.4 MB, free: 7.816 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002762/0.2428, allocations: 1.134 MB / 340.5 MB, free: 6.68 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.2446, allocations: 0.9157 MB / 341.4 MB, free: 5.762 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0149/0.2596, allocations: 12.23 MB / 353.7 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02348/0.2831, allocations: 15.2 MB / 368.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004802/0.2879, allocations: 3.306 MB / 372.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005972/0.2939, allocations: 4.102 MB / 376.3 MB, free: 2.789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001215/0.2951, allocations: 0.5781 MB / 376.9 MB, free: 2.211 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.2975, allocations: 0.7693 MB / 377.6 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.2992, allocations: 1.811 MB / 379.4 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.3012, allocations: 1.779 MB / 381.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01407/0.3153, allocations: 15.67 MB / 396.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3154, allocations: 0 / 396.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3154, allocations: 0 / 396.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003804/0.3158, allocations: 0 / 396.9 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.02913/0.3449, allocations: 10.8 MB / 407.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3449, allocations: 8.031 kB / 407.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04788/0.3928, allocations: 8.537 MB / 416.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01531/0.4082, allocations: 5.49 MB / 421.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008116/0.4091, allocations: 0.6623 MB / 422.4 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003757/0.4128, allocations: 0.8671 MB / 423.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0362/0.449, allocations: 15.83 MB / 439.1 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002218/0.4493, allocations: 7.906 kB / 439.1 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/0.4508, allocations: 368 kB / 439.4 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005103/0.4513, allocations: 0.5582 MB / 440 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02978/0.4811, allocations: 15.63 MB / 455.6 MB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4136/0.8947, allocations: 48.42 MB / 0.4922 GB, free: 65.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01498/0.9097, allocations: 19.29 MB / 0.5111 GB, free: 43.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004994/0.9103, allocations: 176.4 kB / 0.5113 GB, free: 43.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.936e-05/0.9103, allocations: 90.55 kB / 0.5113 GB, free: 43.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=468): time 6.092e-06/0.9103, allocations: 0 / 0.5113 GB, free: 43.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=468): time 0.02057/0.9309, allocations: 11.49 MB / 0.5226 GB, free: 31.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.931, allocations: 129.1 kB / 0.5227 GB, free: 31.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004881/0.9359, allocations: 3.819 MB / 0.5264 GB, free: 27.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007273/0.9367, allocations: 97.7 kB / 0.5265 GB, free: 27.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001741/0.9384, allocations: 3.896 MB / 0.5303 GB, free: 23.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001436/0.9398, allocations: 1.61 MB / 0.5319 GB, free: 22.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/0.9402, allocations: 148 kB / 0.532 GB, free: 22.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003219/0.9406, allocations: 0.6039 MB / 0.5326 GB, free: 21.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004606/0.9452, allocations: 3.656 MB / 0.5362 GB, free: 17.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006223/0.9514, allocations: 6.466 MB / 0.5425 GB, free: 10.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007035/0.9585, allocations: 5.2 MB / 0.5476 GB, free: 4.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.912e-05/0.9586, allocations: 24 kB / 0.5476 GB, free: 4.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02151/0.9801, allocations: 11.88 MB / 0.5592 GB, free: 8.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.619e-05/0.9803, allocations: 44 kB / 0.5592 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001349/0.9804, allocations: 96 kB / 0.5593 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005132/0.9855, allocations: 1.617 MB / 0.5609 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006759/0.9923, allocations: 1.665 MB / 0.5625 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01976/1.012, allocations: 16.54 MB / 0.5787 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006023/1.018, allocations: 0.9522 MB / 0.5796 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/1.019, allocations: 360 kB / 0.58 GB, free: 2.781 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.007168/1.027, allocations: 3.756 MB / 0.5836 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008571/1.027, allocations: 391.1 kB / 0.584 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01476/1.042, allocations: 8.557 MB / 0.5924 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.417e-05/1.042, allocations: 48 kB / 0.5924 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.251e-05/1.042, allocations: 12 kB / 0.5924 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.329e-05/1.042, allocations: 31.89 kB / 0.5925 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03108/1.073, allocations: 16.89 MB / 0.609 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/1.074, allocations: 8.25 kB / 0.609 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003615/1.077, allocations: 0.8581 MB / 0.6098 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005401/1.083, allocations: 1.503 MB / 0.6113 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008734/1.083, allocations: 99.97 kB / 0.6114 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2424/1.326, allocations: 16.35 MB / 0.6273 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/1.326, allocations: 11.61 kB / 0.6273 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/1.344, allocations: 12.35 MB / 0.6394 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003387/1.347, allocations: 1.116 MB / 0.6405 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009348/1.348, allocations: 86.3 kB / 0.6406 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002804/1.351, allocations: 307.3 kB / 0.6409 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007435/1.352, allocations: 321.2 kB / 0.6412 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002803/1.352, allocations: 132.8 kB / 0.6413 GB, free: 130.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004597/1.356, allocations: 2.546 MB / 0.6438 GB, free: 129.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.92e-07/1.356, allocations: 2.438 kB / 0.6438 GB, free: 129.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008573/1.365, allocations: 2.381 MB / 0.6461 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.0008584/1.366, allocations: 269 kB / 0.6464 GB, free: 128.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01445/1.38, allocations: 9.325 MB / 0.6555 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.38, allocations: 0 / 0.6555 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007044/1.387, allocations: 4.457 MB / 0.6598 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.004455/1.392, allocations: 0.6214 MB / 0.6604 GB, free: 116.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03465/1.427, allocations: 19.95 MB / 0.6799 GB, free: 98.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005997/1.433, allocations: 6.184 MB / 0.686 GB, free: 92.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008083/1.441, allocations: 3.259 MB / 0.6891 GB, free: 88.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.442, allocations: 371.4 kB / 0.6895 GB, free: 88.54 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/1.442, allocations: 0 / 0.6895 GB, free: 88.54 MB / 446.1 MB Notification: Performance of Templates: time 0.1034/1.546, allocations: 63.03 MB / 0.751 GB, free: 25.52 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: