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.001122/0.001122, allocations: 91.61 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.001368/0.001368, 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.468/1.468, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.000481/0.0004812, allocations: 11.98 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2869, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.009202/0.2962, allocations: 8.525 MB / 335 MB, free: 10.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007532/0.3038, allocations: 3.069 MB / 338.1 MB, free: 7.891 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/0.3063, allocations: 55.81 kB / 338.1 MB, free: 7.836 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.3089, allocations: 0.5285 MB / 338.7 MB, free: 7.305 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004717/0.3137, allocations: 1.194 MB / 339.9 MB, free: 6.105 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.3163, allocations: 0.9119 MB / 340.8 MB, free: 5.191 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.02101/0.3373, allocations: 15.4 MB / 356.2 MB, free: 5.754 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02995/0.3673, allocations: 15.31 MB / 371.5 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007179/0.3746, allocations: 3.715 MB / 375.2 MB, free: 2.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008415/0.383, allocations: 4.559 MB / 379.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002626/0.3857, allocations: 0.582 MB / 380.3 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00496/0.3907, allocations: 0.8083 MB / 381.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00338/0.3941, allocations: 1.869 MB / 383 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005014/0.3991, allocations: 1.779 MB / 384.8 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02133/0.4205, allocations: 15.69 MB / 400.5 MB, free: 9.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.4205, allocations: 0 / 400.5 MB, free: 9.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.03e-06/0.4206, allocations: 3.938 kB / 400.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0008885/0.4215, allocations: 0 / 400.5 MB, free: 9.25 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.03401/0.4555, allocations: 10.85 MB / 411.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.4556, allocations: 12.03 kB / 411.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04571/0.5013, allocations: 8.486 MB / 419.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01624/0.5176, allocations: 5.51 MB / 425.3 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009142/0.5186, allocations: 0.6663 MB / 426 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005355/0.524, allocations: 0.8671 MB / 426.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04889/0.5729, allocations: 15.91 MB / 442.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005078/0.5734, allocations: 7.906 kB / 442.8 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004286/0.5777, allocations: 364 kB / 443.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008134/0.5786, allocations: 0.5583 MB / 443.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.433/1.012, allocations: 15.63 MB / 459.3 MB, free: 93.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08143/1.093, allocations: 48.43 MB / 0.4959 GB, free: 60.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01642/1.11, allocations: 19.29 MB / 0.5147 GB, free: 38.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005007/1.115, allocations: 3.562 MB / 0.5182 GB, free: 35.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/1.115, allocations: 184.3 kB / 0.5184 GB, free: 35.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.759e-05/1.115, allocations: 82.56 kB / 0.5184 GB, free: 35.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=468): time 7.805e-06/1.115, allocations: 4 kB / 0.5184 GB, free: 35.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=468): time 0.02953/1.145, allocations: 13.47 MB / 0.5316 GB, free: 21.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/1.145, allocations: 125.1 kB / 0.5317 GB, free: 21.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008255/1.153, allocations: 3.811 MB / 0.5354 GB, free: 17.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008021/1.154, allocations: 101.7 kB / 0.5355 GB, free: 17.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00261/1.157, allocations: 3.895 MB / 0.5393 GB, free: 13.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001766/1.158, allocations: 1.612 MB / 0.5409 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008605/1.159, allocations: 147.9 kB / 0.5411 GB, free: 11.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0005307/1.16, allocations: 0.6156 MB / 0.5417 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005514/1.165, allocations: 3.652 MB / 0.5452 GB, free: 7.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007225/1.173, allocations: 6.5 MB / 0.5516 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009166/1.182, allocations: 5.192 MB / 0.5566 GB, free: 10.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001121/1.182, allocations: 32 kB / 0.5567 GB, free: 10.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0269/1.209, allocations: 11.88 MB / 0.5683 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001545/1.209, allocations: 48 kB / 0.5683 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002074/1.209, allocations: 95.94 kB / 0.5684 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005238/1.215, allocations: 1.624 MB / 0.57 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007078/1.222, allocations: 1.669 MB / 0.5716 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02196/1.244, allocations: 16.17 MB / 0.5874 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006645/1.25, allocations: 0.9602 MB / 0.5884 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001818/1.252, allocations: 356 kB / 0.5887 GB, free: 8.707 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.008798/1.261, allocations: 3.758 MB / 0.5924 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.262, allocations: 399.1 kB / 0.5927 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01801/1.28, allocations: 8.549 MB / 0.6011 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.344e-05/1.28, allocations: 48 kB / 0.6011 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.132e-05/1.281, allocations: 12 kB / 0.6012 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.476e-05/1.281, allocations: 31.84 kB / 0.6012 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2852/1.566, allocations: 16.89 MB / 0.6177 GB, free: 141.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.997e-05/1.566, allocations: 1.906 kB / 0.6177 GB, free: 141.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004558/1.57, allocations: 0.8608 MB / 0.6185 GB, free: 141.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004168/1.575, allocations: 1.504 MB / 0.62 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007921/1.575, allocations: 98.66 kB / 0.6201 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/1.59, allocations: 15.98 MB / 0.6357 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.59, allocations: 1.422 kB / 0.6357 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/1.608, allocations: 12.16 MB / 0.6476 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002636/1.611, allocations: 1.113 MB / 0.6487 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/1.612, allocations: 93.89 kB / 0.6488 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002753/1.615, allocations: 304 kB / 0.649 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008293/1.616, allocations: 314.9 kB / 0.6493 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003865/1.616, allocations: 135.7 kB / 0.6495 GB, free: 125.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005528/1.622, allocations: 2.551 MB / 0.652 GB, free: 123.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.622, allocations: 0 / 0.652 GB, free: 123.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009751/1.632, allocations: 2.377 MB / 0.6543 GB, free: 121.6 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.001116/1.633, allocations: 267.4 kB / 0.6545 GB, free: 121.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01522/1.648, allocations: 9.309 MB / 0.6636 GB, free: 113.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/1.648, allocations: 4 kB / 0.6636 GB, free: 113.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006631/1.655, allocations: 4.46 MB / 0.668 GB, free: 109.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005498/1.66, allocations: 0.7133 MB / 0.6687 GB, free: 108.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03418/1.694, allocations: 19.98 MB / 0.6882 GB, free: 89.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009231/1.704, allocations: 6.048 MB / 0.6941 GB, free: 83.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.009645/1.713, allocations: 3.259 MB / 0.6973 GB, free: 79.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002407/1.716, allocations: 375.4 kB / 0.6976 GB, free: 79.49 MB / 446.1 MB Notification: Performance of SimCode: time 2.856e-06/1.716, allocations: 0 / 0.6976 GB, free: 79.49 MB / 446.1 MB Notification: Performance of Templates: time 0.09852/1.814, allocations: 63.11 MB / 0.7593 GB, free: 16.38 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)