Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.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.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.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.0008046/0.0008046, allocations: 95.23 kB / 16.32 MB, free: 5.555 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.0007868/0.0007868, allocations: 176.7 kB / 17.21 MB, free: 5.477 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.432/1.432, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.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.0004395/0.0004395, allocations: 8 kB / 280.2 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1086, allocations: 47.58 MB / 327.7 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004872/0.1135, allocations: 3.958 MB / 331.7 MB, free: 84 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.1166, allocations: 1.614 MB / 333.3 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.1169, allocations: 27.88 kB / 333.3 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.1174, allocations: 194.8 kB / 333.5 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.1187, allocations: 0.5835 MB / 334.1 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.1191, allocations: 167.6 kB / 334.3 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002376/0.1215, allocations: 1.958 MB / 336.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.1226, allocations: 0.8618 MB / 337.1 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007159/0.1233, allocations: 0.5914 MB / 337.7 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.1243, allocations: 0.825 MB / 338.5 MB, free: 9.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.1245, allocations: 88 kB / 338.6 MB, free: 9.145 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004803/0.125, allocations: 203.8 kB / 338.8 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003995/0.1254, allocations: 422.5 kB / 339.2 MB, free: 8.531 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003684/0.1258, allocations: 324.9 kB / 339.5 MB, free: 8.207 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.1278, allocations: 2.034 MB / 341.5 MB, free: 6.168 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1278, allocations: 0 / 341.5 MB, free: 6.168 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1278, allocations: 0 / 341.5 MB, free: 6.168 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.1279, allocations: 0 / 341.5 MB, free: 6.168 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003851/0.1317, allocations: 1.926 MB / 343.5 MB, free: 4.188 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.1318, allocations: 8.031 kB / 343.5 MB, free: 4.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.1334, allocations: 369.7 kB / 343.8 MB, free: 3.816 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.1351, allocations: 1.001 MB / 344.8 MB, free: 2.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.57e-05/0.1352, allocations: 106.6 kB / 344.9 MB, free: 2.664 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.1354, allocations: 140 kB / 345.1 MB, free: 2.527 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0032/0.1386, allocations: 1.89 MB / 347 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.1386, allocations: 0 / 347 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.1388, allocations: 52 kB / 347 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.06e-05/0.1388, allocations: 50 kB / 347.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.1416, allocations: 1.699 MB / 348.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008591/0.1502, allocations: 5.626 MB / 354.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.1534, allocations: 2.907 MB / 357.3 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007793/0.1542, allocations: 0.5139 MB / 357.8 MB, free: 5.086 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002334/0.1566, allocations: 1.533 MB / 359.4 MB, free: 3.484 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.1566, allocations: 50.48 kB / 359.4 MB, free: 3.426 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.944e-06/0.1566, allocations: 0 / 359.4 MB, free: 3.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003302/0.1599, allocations: 1.473 MB / 360.9 MB, free: 1.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.16, allocations: 89.09 kB / 361 MB, free: 1.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.1614, allocations: 1.02 MB / 362 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.1615, allocations: 37.7 kB / 362 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/0.162, allocations: 0.6735 MB / 362.7 MB, free: 60 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.1621, allocations: 197.2 kB / 362.9 MB, free: 15.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.1622, allocations: 12 kB / 362.9 MB, free: 15.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1623, allocations: 334 kB / 363.2 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/0.1629, allocations: 369.3 kB / 363.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006973/0.1636, allocations: 0.5215 MB / 364.1 MB, free: 14.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007027/0.1644, allocations: 449.2 kB / 364.5 MB, free: 14.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1644, allocations: 3.938 kB / 364.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001673/0.1661, allocations: 1.025 MB / 365.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.1661, allocations: 8 kB / 365.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.1661, allocations: 11.94 kB / 365.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.1661, allocations: 8 kB / 365.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/0.1669, allocations: 187.8 kB / 365.8 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.1669, allocations: 15.97 kB / 365.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/0.1675, allocations: 91.23 kB / 365.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.1675, allocations: 28 kB / 365.9 MB, free: 12.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008668/0.1684, allocations: 0.5216 MB / 366.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.1686, allocations: 90.92 kB / 366.5 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.1699, allocations: 0.7096 MB / 367.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1699, allocations: 4 kB / 367.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.1699, allocations: 4 kB / 367.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1699, allocations: 3.984 kB / 367.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.1726, allocations: 1.66 MB / 368.9 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1726, allocations: 3.938 kB / 368.9 MB, free: 9.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.1731, allocations: 104 kB / 369 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004584/0.1735, allocations: 151.8 kB / 369.2 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/0.1736, allocations: 19.98 kB / 369.2 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003072/0.1767, allocations: 2.603 MB / 371.8 MB, free: 6.656 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1767, allocations: 3.984 kB / 371.8 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.179, allocations: 1.515 MB / 373.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.1793, allocations: 188 kB / 373.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.1794, allocations: 23.95 kB / 373.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004925/0.1799, allocations: 63.94 kB / 373.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.18, allocations: 55.91 kB / 373.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.1801, allocations: 20 kB / 373.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009926/0.1811, allocations: 0.7254 MB / 374.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1811, allocations: 0 / 374.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001126/0.1822, allocations: 362.4 kB / 374.7 MB, free: 3.672 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002713/0.1825, allocations: 131.2 kB / 374.9 MB, free: 3.531 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.1839, allocations: 0.7919 MB / 375.6 MB, free: 2.738 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1839, allocations: 1.062 kB / 375.6 MB, free: 2.738 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.185, allocations: 0.598 MB / 376.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009527/0.186, allocations: 175.3 kB / 376.4 MB, free: 1.957 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1804/0.3664, allocations: 3.317 MB / 379.7 MB, free: 52.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/0.368, allocations: 1.495 MB / 381.2 MB, free: 51.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000853/0.3688, allocations: 237.5 kB / 381.5 MB, free: 51.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.369, allocations: 62.98 kB / 381.5 MB, free: 51.84 MB / 318.1 MB Notification: Performance of SimCode: time 9.42e-07/0.369, allocations: 0 / 381.5 MB, free: 51.84 MB / 318.1 MB Notification: Performance of Templates: time 0.02185/0.3909, allocations: 10.68 MB / 392.2 MB, free: 48.73 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)