Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_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.008322/0.008322, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001194/0.001194, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.405/1.405, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.001269/0.001269, allocations: 54.81 kB / 326.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08776/0.08903, allocations: 46.63 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005947/0.09502, allocations: 4.606 MB / 377.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003027/0.09808, allocations: 1.741 MB / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003631/0.09846, allocations: 19.94 kB / 379.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005454/0.09905, allocations: 270.3 kB / 379.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.1006, allocations: 0.6996 MB / 380.5 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.1011, allocations: 239.5 kB / 380.7 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001938/0.1031, allocations: 1.887 MB / 382.6 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.1043, allocations: 1.257 MB / 383.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009812/0.1053, allocations: 0.7904 MB / 384.7 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.1064, allocations: 0.9769 MB / 385.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.1067, allocations: 184 kB / 385.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006593/0.1074, allocations: 307.8 kB / 386.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004897/0.1079, allocations: 0.5414 MB / 386.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.1089, allocations: 0.8944 MB / 387.6 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.1111, allocations: 2.563 MB / 390.1 MB, free: 284 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1111, allocations: 4 kB / 390.1 MB, free: 280 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1111, allocations: 0 / 390.1 MB, free: 280 kB / 318.1 MB Notification: Performance of Transformations before backend: time 2.424e-05/0.1112, allocations: 0 / 390.1 MB, free: 280 kB / 318.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.00426/0.1154, allocations: 2.172 MB / 392.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1155, allocations: 15.89 kB / 392.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.1172, allocations: 366.6 kB / 392.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.1189, allocations: 1.044 MB / 393.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.012e-05/0.1189, allocations: 99.05 kB / 393.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.1192, allocations: 140 kB / 393.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003482/0.1227, allocations: 1.89 MB / 395.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.1227, allocations: 0 / 395.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.1229, allocations: 56 kB / 395.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.313e-05/0.1229, allocations: 46 kB / 395.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/0.1257, allocations: 1.684 MB / 397.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007826/0.1335, allocations: 5.532 MB / 403.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.1365, allocations: 2.899 MB / 406.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007366/0.1373, allocations: 0.4954 MB / 406.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002076/0.1394, allocations: 1.529 MB / 408.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.1394, allocations: 38.56 kB / 408.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.434e-06/0.1394, allocations: 0 / 408.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003112/0.1425, allocations: 1.407 MB / 409.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.1426, allocations: 89.05 kB / 409.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.1439, allocations: 1.032 MB / 410.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.1439, allocations: 37.7 kB / 410.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.1444, allocations: 0.6775 MB / 411.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.1445, allocations: 193.1 kB / 411.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.1447, allocations: 126.2 kB / 411.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1448, allocations: 330 kB / 412 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005551/0.1454, allocations: 357 kB / 412.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/0.146, allocations: 0.517 MB / 412.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.1472, allocations: 0.8749 MB / 413.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1472, allocations: 4 kB / 413.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001502/0.1487, allocations: 1.009 MB / 414.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1488, allocations: 4 kB / 414.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1488, allocations: 8 kB / 414.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1488, allocations: 11.94 kB / 414.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/0.1495, allocations: 183.7 kB / 414.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.1496, allocations: 8.188 kB / 415 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004828/0.15, allocations: 95.52 kB / 415 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.1501, allocations: 24 kB / 415.1 MB, free: 6.211 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006237/0.1507, allocations: 0.5286 MB / 415.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.1509, allocations: 90.91 kB / 415.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.1521, allocations: 0.6823 MB / 416.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1521, allocations: 4 kB / 416.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1521, allocations: 4 kB / 416.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.1521, allocations: 7.922 kB / 416.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.1544, allocations: 1.656 MB / 418 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.1544, allocations: 4 kB / 418 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.1549, allocations: 91.86 kB / 418.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004206/0.1554, allocations: 161.8 kB / 418.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.1554, allocations: 16 kB / 418.3 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003141/0.1586, allocations: 2.856 MB / 421.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1586, allocations: 0 / 421.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.1608, allocations: 1.476 MB / 422.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.1611, allocations: 191.9 kB / 422.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.1612, allocations: 12 kB / 422.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/0.1617, allocations: 63.88 kB / 422.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.1619, allocations: 51.92 kB / 423 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.1619, allocations: 23.92 kB / 423 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009477/0.1629, allocations: 0.7293 MB / 423.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1629, allocations: 4 kB / 423.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001017/0.1639, allocations: 354.5 kB / 424.1 MB, free: 12.94 MB / 366.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002493/0.1642, allocations: 139.5 kB / 424.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.1655, allocations: 0.7798 MB / 425 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1655, allocations: 0 / 425 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.1665, allocations: 0.5831 MB / 425.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009563/0.1675, allocations: 187.8 kB / 425.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.1716, allocations: 2.767 MB / 428.5 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.1727, allocations: 1.495 MB / 430 MB, free: 6.891 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005484/0.1733, allocations: 230.7 kB / 430.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.1735, allocations: 67.36 kB / 430.3 MB, free: 6.594 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1735, allocations: 0 / 430.3 MB, free: 6.594 MB / 366.1 MB Notification: Performance of Templates: time 0.02089/0.1944, allocations: 11.81 MB / 442.1 MB, free: 10.76 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)