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.005894/0.005894, allocations: 101.4 kB / 15.73 MB, free: 6.047 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.00121/0.00121, allocations: 194.6 kB / 16.67 MB, free: 5.961 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.408/1.408, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001335/0.001335, allocations: 58.39 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.09316, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005825/0.09903, allocations: 4.602 MB / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003201/0.1023, allocations: 1.749 MB / 379.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006314/0.1029, allocations: 27.88 kB / 379.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008289/0.1038, allocations: 258.3 kB / 379.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.1058, allocations: 0.6918 MB / 380.5 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.1065, allocations: 231.5 kB / 380.7 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.109, allocations: 1.895 MB / 382.6 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.1105, allocations: 1.245 MB / 383.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.1117, allocations: 0.7904 MB / 384.6 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.1134, allocations: 0.9808 MB / 385.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004562/0.1138, allocations: 184 kB / 385.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009171/0.1148, allocations: 303.9 kB / 386.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007156/0.1155, allocations: 0.5453 MB / 386.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.1171, allocations: 0.8944 MB / 387.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003177/0.1203, allocations: 2.559 MB / 390.1 MB, free: 276 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1204, allocations: 3.938 kB / 390.1 MB, free: 272 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1204, allocations: 0 / 390.1 MB, free: 272 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001015/0.1205, allocations: 0 / 390.1 MB, free: 272 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.006201/0.1267, allocations: 2.168 MB / 392.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1267, allocations: 15.89 kB / 392.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.1286, allocations: 374.6 kB / 392.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/0.1306, allocations: 1.052 MB / 393.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-05/0.1307, allocations: 95.05 kB / 393.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.1309, allocations: 140.1 kB / 393.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/0.1339, allocations: 1.886 MB / 395.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.134, allocations: 0 / 395.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.1341, allocations: 56 kB / 395.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.231e-05/0.1342, allocations: 49.98 kB / 395.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.1368, allocations: 1.684 MB / 397.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008476/0.1453, allocations: 5.516 MB / 403.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.1485, allocations: 2.906 MB / 406 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007059/0.1492, allocations: 0.4917 MB / 406.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00249/0.1517, allocations: 1.532 MB / 408.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1518, allocations: 42.5 kB / 408.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.053e-06/0.1518, allocations: 0 / 408.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003145/0.1549, allocations: 1.403 MB / 409.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.155, allocations: 92.98 kB / 409.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.1563, allocations: 1.032 MB / 410.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.1564, allocations: 37.7 kB / 410.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.1568, allocations: 0.6735 MB / 411.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.157, allocations: 189.3 kB / 411.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.1572, allocations: 130.2 kB / 411.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.1573, allocations: 330 kB / 412 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/0.1579, allocations: 365 kB / 412.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/0.1585, allocations: 0.5132 MB / 412.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.1598, allocations: 0.8788 MB / 413.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.1598, allocations: 0 / 413.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00164/0.1615, allocations: 1.009 MB / 414.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1615, allocations: 4 kB / 414.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1615, allocations: 8 kB / 414.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.1615, allocations: 15.92 kB / 414.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007295/0.1623, allocations: 180.2 kB / 414.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.1623, allocations: 15.92 kB / 414.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005608/0.1629, allocations: 87.25 kB / 415 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/0.1629, allocations: 27.98 kB / 415.1 MB, free: 6.195 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.0006744/0.1636, allocations: 0.5247 MB / 415.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.1638, allocations: 86.97 kB / 415.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.165, allocations: 0.6862 MB / 416.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.165, allocations: 8 kB / 416.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.165, allocations: 4 kB / 416.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1651, allocations: 3.938 kB / 416.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.1676, allocations: 1.645 MB / 418 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.1676, allocations: 8.094 kB / 418 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/0.1681, allocations: 95.88 kB / 418.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004214/0.1685, allocations: 161.6 kB / 418.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.1686, allocations: 19.98 kB / 418.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/0.1716, allocations: 2.841 MB / 421.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1716, allocations: 0 / 421.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.174, allocations: 1.48 MB / 422.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.1743, allocations: 191.9 kB / 422.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.1745, allocations: 19.98 kB / 422.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005857/0.1751, allocations: 63.88 kB / 422.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.1753, allocations: 51.92 kB / 422.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.1753, allocations: 15.98 kB / 422.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001067/0.1764, allocations: 0.7332 MB / 423.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1764, allocations: 3.938 kB / 423.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001209/0.1776, allocations: 354.5 kB / 424 MB, free: 12.93 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.0003168/0.178, allocations: 135.6 kB / 424.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.1795, allocations: 0.791 MB / 425 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1795, allocations: 0 / 425 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.1806, allocations: 0.5953 MB / 425.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.1817, allocations: 175.3 kB / 425.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004952/0.1867, allocations: 2.759 MB / 428.5 MB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.1882, allocations: 1.499 MB / 430 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006583/0.1888, allocations: 230.7 kB / 430.2 MB, free: 6.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.1891, allocations: 63.42 kB / 430.3 MB, free: 6.59 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1891, allocations: 3.938 kB / 430.3 MB, free: 6.586 MB / 366.1 MB Notification: Performance of Templates: time 0.02312/0.2123, allocations: 11.97 MB / 442.2 MB, free: 10.59 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)