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.00078/0.0007801, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008393/0.0008394, allocations: 172.7 kB / 15.95 MB, free: 208 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.383/1.383, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004764/0.0004766, allocations: 16 kB / 278.9 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2253, allocations: 47.58 MB / 326.5 MB, free: 1.617 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.008963/0.2343, allocations: 8.517 MB / 335 MB, free: 10.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00658/0.2409, allocations: 3.068 MB / 338.1 MB, free: 8.039 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.2429, allocations: 51.88 kB / 338.1 MB, free: 7.988 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.2448, allocations: 0.5362 MB / 338.7 MB, free: 7.449 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.248, allocations: 1.198 MB / 339.9 MB, free: 6.246 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.2502, allocations: 0.9158 MB / 340.8 MB, free: 5.328 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01923/0.2694, allocations: 15.39 MB / 356.2 MB, free: 5.898 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02623/0.2957, allocations: 15.31 MB / 371.5 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006592/0.3023, allocations: 3.727 MB / 375.2 MB, free: 2.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007627/0.31, allocations: 4.555 MB / 379.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001796/0.3118, allocations: 0.582 MB / 380.3 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.3153, allocations: 0.8044 MB / 381.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002365/0.3177, allocations: 1.869 MB / 383 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00359/0.3213, allocations: 1.783 MB / 384.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01679/0.3381, allocations: 15.68 MB / 400.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3381, allocations: 0 / 400.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3382, allocations: 0 / 400.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004924/0.3386, allocations: 0 / 400.5 MB, free: 9.402 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.02885/0.3675, allocations: 10.85 MB / 411.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3676, allocations: 8.031 kB / 411.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04544/0.413, allocations: 8.49 MB / 419.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/0.4243, allocations: 5.506 MB / 425.3 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006161/0.425, allocations: 0.6664 MB / 426 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003151/0.4281, allocations: 0.867 MB / 426.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03452/0.4627, allocations: 15.91 MB / 442.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002088/0.4629, allocations: 11.89 kB / 442.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001236/0.4642, allocations: 376 kB / 443.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004982/0.4647, allocations: 0.5505 MB / 443.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3488/0.8135, allocations: 15.63 MB / 459.3 MB, free: 94.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06753/0.8811, allocations: 48.43 MB / 0.4959 GB, free: 60.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/0.8955, allocations: 19.3 MB / 0.5147 GB, free: 39.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004269/0.8998, allocations: 3.566 MB / 0.5182 GB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003615/0.9002, allocations: 180.4 kB / 0.5184 GB, free: 35.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.172e-05/0.9003, allocations: 78.56 kB / 0.5184 GB, free: 35.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=468): time 7.313e-06/0.9003, allocations: 4 kB / 0.5184 GB, free: 35.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=468): time 0.02656/0.9268, allocations: 13.48 MB / 0.5316 GB, free: 21.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.9269, allocations: 129.1 kB / 0.5317 GB, free: 21.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0054/0.9323, allocations: 3.811 MB / 0.5354 GB, free: 17.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005782/0.9329, allocations: 101.7 kB / 0.5355 GB, free: 17.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001773/0.9347, allocations: 3.892 MB / 0.5393 GB, free: 13.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001242/0.936, allocations: 1.607 MB / 0.5409 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/0.9363, allocations: 155.9 kB / 0.5411 GB, free: 12.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003058/0.9366, allocations: 0.6078 MB / 0.5417 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004355/0.941, allocations: 3.656 MB / 0.5452 GB, free: 7.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00542/0.9464, allocations: 6.492 MB / 0.5516 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007538/0.954, allocations: 5.2 MB / 0.5566 GB, free: 10.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.697e-05/0.9541, allocations: 24 kB / 0.5567 GB, free: 10.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02276/0.9768, allocations: 11.88 MB / 0.5683 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.977, allocations: 44 kB / 0.5683 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001709/0.9772, allocations: 96 kB / 0.5684 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00481/0.982, allocations: 1.636 MB / 0.57 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006563/0.9886, allocations: 1.661 MB / 0.5716 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/1.007, allocations: 16.18 MB / 0.5874 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005667/1.013, allocations: 0.9561 MB / 0.5884 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.014, allocations: 356 kB / 0.5887 GB, free: 8.992 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 (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.007006/1.021, allocations: 3.758 MB / 0.5924 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007834/1.022, allocations: 391.1 kB / 0.5927 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/1.037, allocations: 8.553 MB / 0.6011 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-05/1.037, allocations: 52 kB / 0.6011 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.159e-05/1.037, allocations: 12 kB / 0.6012 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.826e-05/1.037, allocations: 23.91 kB / 0.6012 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2247/1.262, allocations: 16.89 MB / 0.6177 GB, free: 141.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/1.262, allocations: 2.219 kB / 0.6177 GB, free: 141.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003467/1.265, allocations: 0.8627 MB / 0.6185 GB, free: 141.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003877/1.269, allocations: 1.495 MB / 0.62 GB, free: 141.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005592/1.27, allocations: 106.8 kB / 0.6201 GB, free: 141.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/1.284, allocations: 15.98 MB / 0.6357 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.284, allocations: 5.359 kB / 0.6357 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01508/1.299, allocations: 12.16 MB / 0.6476 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002033/1.301, allocations: 1.116 MB / 0.6487 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000548/1.302, allocations: 95.83 kB / 0.6488 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/1.304, allocations: 305.1 kB / 0.649 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005815/1.304, allocations: 313.5 kB / 0.6493 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/1.305, allocations: 136.6 kB / 0.6495 GB, free: 125.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003203/1.308, allocations: 2.548 MB / 0.652 GB, free: 124.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/1.308, allocations: 3.938 kB / 0.652 GB, free: 124.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006753/1.315, allocations: 2.377 MB / 0.6543 GB, free: 122 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.0007098/1.315, allocations: 263.7 kB / 0.6545 GB, free: 121.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01258/1.328, allocations: 9.307 MB / 0.6636 GB, free: 113.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/1.328, allocations: 7.281 kB / 0.6636 GB, free: 113.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006599/1.335, allocations: 4.455 MB / 0.668 GB, free: 109.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005765/1.34, allocations: 0.7144 MB / 0.6687 GB, free: 109.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03028/1.371, allocations: 19.98 MB / 0.6882 GB, free: 89.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005344/1.376, allocations: 6.049 MB / 0.6941 GB, free: 83.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007362/1.383, allocations: 3.251 MB / 0.6973 GB, free: 80.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/1.385, allocations: 371.4 kB / 0.6976 GB, free: 79.96 MB / 446.1 MB Notification: Performance of SimCode: time 7.52e-07/1.385, allocations: 0 / 0.6976 GB, free: 79.96 MB / 446.1 MB Notification: Performance of Templates: time 0.08999/1.475, allocations: 63.12 MB / 0.7593 GB, free: 16.84 MB / 446.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)