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.005728/0.005729, allocations: 98.27 kB / 15.73 MB, free: 6.004 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.001214/0.001214, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.437/1.437, allocations: 205.1 MB / 222.5 MB, free: 4.469 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.001161/0.001161, allocations: 48.73 kB / 326.5 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09602/0.09719, allocations: 46.63 MB / 373.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005973/0.1032, allocations: 4.606 MB / 377.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002996/0.1062, allocations: 1.749 MB / 379.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.1066, allocations: 19.94 kB / 379.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006181/0.1072, allocations: 254.3 kB / 379.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.1089, allocations: 0.6918 MB / 380.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.1094, allocations: 227.5 kB / 380.7 MB, free: 9.852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00232/0.1117, allocations: 1.899 MB / 382.6 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.1132, allocations: 1.26 MB / 383.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.1143, allocations: 0.7826 MB / 384.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.1155, allocations: 0.973 MB / 385.6 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002567/0.1157, allocations: 192 kB / 385.8 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006662/0.1164, allocations: 311.8 kB / 386.1 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004792/0.1169, allocations: 0.5414 MB / 386.7 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009677/0.1179, allocations: 0.8905 MB / 387.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.1204, allocations: 2.569 MB / 390.1 MB, free: 384 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1204, allocations: 0 / 390.1 MB, free: 384 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1204, allocations: 4 kB / 390.1 MB, free: 380 kB / 318.1 MB Notification: Performance of Transformations before backend: time 2.824e-05/0.1205, allocations: 0 / 390.1 MB, free: 380 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.004406/0.1249, allocations: 2.213 MB / 392.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1249, allocations: 15.89 kB / 392.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.1267, allocations: 379.6 kB / 392.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.1283, allocations: 1.053 MB / 393.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/0.1284, allocations: 99.05 kB / 393.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.1286, allocations: 140.1 kB / 394 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/0.1316, allocations: 1.886 MB / 395.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.1316, allocations: 0 / 395.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.1318, allocations: 52 kB / 395.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-05/0.1318, allocations: 49.98 kB / 396 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.1346, allocations: 1.687 MB / 397.7 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008175/0.1427, allocations: 5.534 MB / 403.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.1459, allocations: 2.91 MB / 406.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007497/0.1466, allocations: 0.4915 MB / 406.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002344/0.149, allocations: 1.533 MB / 408.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.149, allocations: 38.56 kB / 408.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.344e-06/0.149, allocations: 4 kB / 408.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003228/0.1523, allocations: 1.408 MB / 409.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.1523, allocations: 89.05 kB / 409.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.1537, allocations: 1.028 MB / 410.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.1538, allocations: 33.7 kB / 410.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004541/0.1542, allocations: 0.6948 MB / 411.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.1544, allocations: 202.2 kB / 411.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.1546, allocations: 126.3 kB / 411.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1547, allocations: 334 kB / 412.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006048/0.1553, allocations: 361 kB / 412.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000713/0.1561, allocations: 0.5131 MB / 412.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.1574, allocations: 0.8827 MB / 413.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.1574, allocations: 0 / 413.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001744/0.1591, allocations: 1.009 MB / 414.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1592, allocations: 8 kB / 414.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.1592, allocations: 4 kB / 414.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.399e-05/0.1592, allocations: 16.5 kB / 414.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007262/0.16, allocations: 183.8 kB / 415 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/0.16, allocations: 15.92 kB / 415.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.1605, allocations: 79.48 kB / 415.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/0.1606, allocations: 35.98 kB / 415.2 MB, free: 6.199 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.0007843/0.1614, allocations: 0.5208 MB / 415.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.1616, allocations: 99.44 kB / 415.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.1629, allocations: 0.6902 MB / 416.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.163, allocations: 4 kB / 416.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.163, allocations: 4 kB / 416.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.163, allocations: 3.938 kB / 416.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.1656, allocations: 1.652 MB / 418.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1656, allocations: 4 kB / 418.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.166, allocations: 92.16 kB / 418.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004243/0.1665, allocations: 157.7 kB / 418.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.085e-05/0.1665, allocations: 15.98 kB / 418.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003239/0.1698, allocations: 2.853 MB / 421.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1698, allocations: 4.031 kB / 421.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.1722, allocations: 1.485 MB / 422.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.1725, allocations: 196.4 kB / 422.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.1726, allocations: 15.98 kB / 423 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.1732, allocations: 67.88 kB / 423 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.1734, allocations: 43.92 kB / 423.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.1735, allocations: 19.98 kB / 423.1 MB, free: 14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001174/0.1747, allocations: 0.7331 MB / 423.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1747, allocations: 0 / 423.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001226/0.1759, allocations: 366.9 kB / 424.2 MB, free: 12.91 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.0003896/0.1763, allocations: 135.3 kB / 424.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002114/0.1785, allocations: 0.7871 MB / 425.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.1785, allocations: 0 / 425.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.1798, allocations: 0.5876 MB / 425.7 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.001563/0.1813, allocations: 180 kB / 425.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005656/0.187, allocations: 2.811 MB / 428.7 MB, free: 8.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/0.1884, allocations: 1.491 MB / 430.2 MB, free: 6.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007736/0.1892, allocations: 230.7 kB / 430.4 MB, free: 6.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.1895, allocations: 63.36 kB / 430.5 MB, free: 6.527 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1895, allocations: 0 / 430.5 MB, free: 6.527 MB / 366.1 MB Notification: Performance of Templates: time 0.02176/0.2112, allocations: 11.82 MB / 442.3 MB, free: 10.68 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)