Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.006109/0.006109, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001271/0.001271, allocations: 191.9 kB / 16.67 MB, free: 5.949 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.435/1.435, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.00137/0.00137, allocations: 57.81 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09783/0.09921, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006527/0.1058, allocations: 4.602 MB / 377.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003531/0.1094, allocations: 1.752 MB / 379.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006591/0.1101, allocations: 27.88 kB / 379.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.1112, allocations: 254.3 kB / 379.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.1138, allocations: 0.6919 MB / 380.5 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008661/0.1147, allocations: 231.5 kB / 380.7 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002692/0.1174, allocations: 1.895 MB / 382.6 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.1193, allocations: 1.253 MB / 383.9 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.1204, allocations: 0.7865 MB / 384.6 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.1222, allocations: 0.9808 MB / 385.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005193/0.1227, allocations: 184 kB / 385.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009479/0.1236, allocations: 315.9 kB / 386.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006747/0.1243, allocations: 0.5375 MB / 386.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.1256, allocations: 0.8827 MB / 387.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.1282, allocations: 2.581 MB / 390.1 MB, free: 276 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1283, allocations: 0 / 390.1 MB, free: 276 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1283, allocations: 0 / 390.1 MB, free: 276 kB / 318.1 MB Notification: Performance of Transformations before backend: time 2.145e-05/0.1283, allocations: 0 / 390.1 MB, free: 276 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.004553/0.1329, allocations: 2.213 MB / 392.3 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1329, allocations: 19.88 kB / 392.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.1347, allocations: 371.6 kB / 392.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.1362, allocations: 1.057 MB / 393.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.816e-05/0.1363, allocations: 99.05 kB / 393.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.1365, allocations: 144.1 kB / 394 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/0.1394, allocations: 1.886 MB / 395.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.1394, allocations: 3.984 kB / 395.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.1395, allocations: 56 kB / 395.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-05/0.1396, allocations: 46 kB / 396 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00269/0.1423, allocations: 1.68 MB / 397.7 MB, free: 8.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007731/0.15, allocations: 5.538 MB / 403.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003061/0.1531, allocations: 2.906 MB / 406.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/0.1539, allocations: 499.3 kB / 406.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002373/0.1563, allocations: 1.541 MB / 408.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.1563, allocations: 38.56 kB / 408.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.625e-06/0.1564, allocations: 7.938 kB / 408.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003199/0.1596, allocations: 1.4 MB / 409.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.1596, allocations: 89.05 kB / 409.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.161, allocations: 1.028 MB / 410.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.161, allocations: 37.7 kB / 410.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000493/0.1615, allocations: 0.6909 MB / 411.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.1617, allocations: 202.3 kB / 411.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.1619, allocations: 122.3 kB / 411.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1621, allocations: 341.9 kB / 412.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/0.1626, allocations: 357 kB / 412.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000675/0.1633, allocations: 0.5132 MB / 412.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.1646, allocations: 0.8827 MB / 413.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1646, allocations: 0 / 413.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001621/0.1662, allocations: 1.009 MB / 414.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1663, allocations: 4.562 kB / 414.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.1663, allocations: 12 kB / 414.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.1663, allocations: 11.94 kB / 414.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/0.1671, allocations: 183.7 kB / 415 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.1671, allocations: 11.98 kB / 415.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.1677, allocations: 87.47 kB / 415.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.1677, allocations: 24 kB / 415.2 MB, free: 6.105 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.0007421/0.1685, allocations: 0.5325 MB / 415.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.1686, allocations: 91.44 kB / 415.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.1699, allocations: 0.6902 MB / 416.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1699, allocations: 4 kB / 416.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.17, allocations: 4 kB / 416.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.17, allocations: 3.938 kB / 416.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.1724, allocations: 1.652 MB / 418.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1724, allocations: 4 kB / 418.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.1728, allocations: 95.88 kB / 418.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004218/0.1733, allocations: 158 kB / 418.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.1733, allocations: 23.98 kB / 418.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003194/0.1765, allocations: 2.837 MB / 421.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1766, allocations: 4 kB / 421.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.1789, allocations: 1.484 MB / 422.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/0.1793, allocations: 200.3 kB / 422.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.1794, allocations: 19.98 kB / 423 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/0.1799, allocations: 63.88 kB / 423 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.1801, allocations: 47.92 kB / 423.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.285e-05/0.1802, allocations: 19.98 kB / 423.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001072/0.1813, allocations: 0.7332 MB / 423.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1813, allocations: 4 kB / 423.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001207/0.1825, allocations: 362.9 kB / 424.2 MB, free: 12.81 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.0002964/0.1828, allocations: 131.4 kB / 424.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.1841, allocations: 0.7841 MB / 425.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1842, allocations: 0 / 425.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.1853, allocations: 0.5941 MB / 425.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.1863, allocations: 184.1 kB / 425.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/0.1909, allocations: 2.803 MB / 428.7 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.1922, allocations: 1.495 MB / 430.2 MB, free: 6.719 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006152/0.1928, allocations: 234.7 kB / 430.4 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.1929, allocations: 67.36 kB / 430.5 MB, free: 6.418 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.193, allocations: 0 / 430.5 MB, free: 6.418 MB / 366.1 MB Notification: Performance of Templates: time 0.02013/0.2131, allocations: 11.81 MB / 442.3 MB, free: 10.58 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)