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.005018/0.005018, allocations: 107.4 kB / 15.74 MB, free: 6.441 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.001225/0.001225, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.382/1.382, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.001239/0.001239, allocations: 50.27 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08586/0.08711, allocations: 46.61 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006101/0.09325, allocations: 4.606 MB / 377.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00324/0.09652, allocations: 1.752 MB / 379.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005948/0.09714, allocations: 23.88 kB / 379.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007954/0.09798, allocations: 262.3 kB / 379.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.09995, allocations: 0.7075 MB / 380.5 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006346/0.1006, allocations: 231.5 kB / 380.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002441/0.103, allocations: 1.891 MB / 382.6 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.1046, allocations: 1.257 MB / 383.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009985/0.1056, allocations: 0.7865 MB / 384.7 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.1069, allocations: 0.9769 MB / 385.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003091/0.1072, allocations: 184 kB / 385.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007258/0.108, allocations: 319.8 kB / 386.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004906/0.1085, allocations: 0.5336 MB / 386.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.1098, allocations: 0.8982 MB / 387.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002933/0.1128, allocations: 2.559 MB / 390.1 MB, free: 260 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1128, allocations: 0 / 390.1 MB, free: 260 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1128, allocations: 0 / 390.1 MB, free: 260 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.649e-05/0.1129, allocations: 0 / 390.1 MB, free: 260 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.005891/0.1188, allocations: 2.175 MB / 392.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.1189, allocations: 11.89 kB / 392.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/0.1213, allocations: 374.6 kB / 392.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.1234, allocations: 1.036 MB / 393.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.32e-05/0.1235, allocations: 111 kB / 393.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/0.1238, allocations: 140 kB / 394 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003668/0.1275, allocations: 1.878 MB / 395.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.1276, allocations: 0 / 395.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.1277, allocations: 56 kB / 395.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.434e-05/0.1278, allocations: 49.98 kB / 395.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003023/0.1308, allocations: 1.687 MB / 397.6 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009376/0.1402, allocations: 5.516 MB / 403.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/0.1434, allocations: 2.907 MB / 406.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008046/0.1443, allocations: 0.4915 MB / 406.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002821/0.1471, allocations: 1.54 MB / 408.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.1472, allocations: 38.56 kB / 408.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.955e-06/0.1472, allocations: 0 / 408.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003353/0.1505, allocations: 1.403 MB / 409.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.1506, allocations: 97.03 kB / 409.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.1523, allocations: 1.024 MB / 410.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/0.1524, allocations: 37.7 kB / 410.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005303/0.1529, allocations: 0.6736 MB / 411.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.1531, allocations: 193.2 kB / 411.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.1533, allocations: 130.2 kB / 411.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1535, allocations: 330 kB / 412 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006176/0.1541, allocations: 365 kB / 412.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007495/0.1549, allocations: 0.5092 MB / 412.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.1562, allocations: 0.875 MB / 413.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.1562, allocations: 4 kB / 413.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001748/0.158, allocations: 1.005 MB / 414.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.158, allocations: 8 kB / 414.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.158, allocations: 8.219 kB / 414.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.1581, allocations: 12.5 kB / 414.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007514/0.1588, allocations: 179.8 kB / 414.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/0.1589, allocations: 19.91 kB / 415 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.1594, allocations: 87.25 kB / 415 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-05/0.1595, allocations: 27.98 kB / 415.1 MB, free: 6.184 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.0007627/0.1603, allocations: 0.5247 MB / 415.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.1605, allocations: 90.97 kB / 415.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.1618, allocations: 0.6862 MB / 416.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.1619, allocations: 8 kB / 416.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.1619, allocations: 0 / 416.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.1619, allocations: 7.938 kB / 416.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.1646, allocations: 1.652 MB / 418 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.1646, allocations: 4.031 kB / 418 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004854/0.1651, allocations: 91.88 kB / 418.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004293/0.1656, allocations: 153.7 kB / 418.3 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.1656, allocations: 23.98 kB / 418.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00309/0.1687, allocations: 2.845 MB / 421.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1687, allocations: 3.938 kB / 421.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.1709, allocations: 1.476 MB / 422.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.1712, allocations: 191.9 kB / 422.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.1713, allocations: 19.98 kB / 422.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000543/0.1719, allocations: 63.88 kB / 422.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.172, allocations: 55.86 kB / 423 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/0.1721, allocations: 19.98 kB / 423 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000953/0.173, allocations: 0.7293 MB / 423.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1731, allocations: 0 / 423.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009963/0.1741, allocations: 354.5 kB / 424.1 MB, free: 12.92 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.0002548/0.1743, allocations: 139.3 kB / 424.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.1757, allocations: 0.7871 MB / 425 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1757, allocations: 0 / 425 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.1767, allocations: 0.5914 MB / 425.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000931/0.1777, allocations: 171.3 kB / 425.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004338/0.182, allocations: 2.763 MB / 428.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/0.1833, allocations: 1.499 MB / 430 MB, free: 6.871 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005539/0.1838, allocations: 230.7 kB / 430.2 MB, free: 6.641 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.184, allocations: 63.42 kB / 430.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.184, allocations: 0 / 430.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of Templates: time 0.02207/0.2061, allocations: 11.81 MB / 442.1 MB, free: 10.74 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)