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.008235/0.008235, allocations: 96.72 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.001248/0.001248, allocations: 194.5 kB / 16.67 MB, free: 5.934 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.494/1.494, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001192/0.001192, allocations: 53.23 kB / 326.5 MB, free: 14.58 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1039, allocations: 46.62 MB / 373.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006164/0.1101, allocations: 4.61 MB / 377.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.1136, allocations: 1.748 MB / 379.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.1141, allocations: 27.88 kB / 379.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000632/0.1147, allocations: 266.3 kB / 379.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.1165, allocations: 0.6957 MB / 380.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.117, allocations: 231.5 kB / 380.7 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001925/0.119, allocations: 1.899 MB / 382.6 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.1202, allocations: 1.257 MB / 383.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.1213, allocations: 0.7865 MB / 384.7 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.1225, allocations: 0.973 MB / 385.6 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002366/0.1228, allocations: 188 kB / 385.8 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006571/0.1235, allocations: 311.9 kB / 386.1 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004893/0.124, allocations: 0.5453 MB / 386.7 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009883/0.125, allocations: 0.8905 MB / 387.6 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.1274, allocations: 2.565 MB / 390.1 MB, free: 392 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.1275, allocations: 7.938 kB / 390.1 MB, free: 384 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1275, allocations: 0 / 390.1 MB, free: 384 kB / 318.1 MB Notification: Performance of Transformations before backend: time 2.801e-05/0.1275, allocations: 0 / 390.1 MB, free: 384 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.004701/0.1322, allocations: 2.216 MB / 392.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1323, allocations: 15.89 kB / 392.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.134, allocations: 379.5 kB / 392.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.1359, allocations: 1.045 MB / 393.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.405e-05/0.136, allocations: 103 kB / 393.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.1362, allocations: 140.1 kB / 394 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.1392, allocations: 1.886 MB / 395.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.1393, allocations: 0 / 395.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.1394, allocations: 59.98 kB / 396 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.314e-05/0.1395, allocations: 42 kB / 396 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.1423, allocations: 1.684 MB / 397.7 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008763/0.151, allocations: 5.541 MB / 403.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003668/0.1547, allocations: 2.91 MB / 406.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007744/0.1555, allocations: 499.3 kB / 406.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002646/0.1582, allocations: 1.533 MB / 408.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1583, allocations: 42.5 kB / 408.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.204e-06/0.1583, allocations: 0 / 408.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.00333/0.1616, allocations: 1.4 MB / 409.6 MB, free: 12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.1617, allocations: 89.05 kB / 409.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.163, allocations: 1.036 MB / 410.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.1631, allocations: 33.7 kB / 410.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004942/0.1636, allocations: 0.6987 MB / 411.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.1638, allocations: 198.3 kB / 411.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.164, allocations: 126.2 kB / 411.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.1643, allocations: 334 kB / 412.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005824/0.1648, allocations: 361 kB / 412.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006836/0.1655, allocations: 0.5093 MB / 413 MB, free: 8.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.1668, allocations: 0.8827 MB / 413.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1668, allocations: 0 / 413.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00169/0.1685, allocations: 1.009 MB / 414.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.1686, allocations: 8 kB / 414.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.1686, allocations: 8 kB / 414.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.1686, allocations: 11.94 kB / 414.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007473/0.1694, allocations: 184.2 kB / 415.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.1694, allocations: 11.98 kB / 415.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005651/0.17, allocations: 95.41 kB / 415.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.17, allocations: 28 kB / 415.2 MB, free: 6.203 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.0008402/0.1709, allocations: 0.5247 MB / 415.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.1711, allocations: 91.44 kB / 415.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.1724, allocations: 0.6824 MB / 416.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1725, allocations: 8 kB / 416.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.1725, allocations: 4 kB / 416.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.1725, allocations: 7.922 kB / 416.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002918/0.1754, allocations: 1.66 MB / 418.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1754, allocations: 8.094 kB / 418.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/0.1759, allocations: 87.88 kB / 418.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004161/0.1763, allocations: 157.7 kB / 418.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/0.1764, allocations: 19.98 kB / 418.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00327/0.1797, allocations: 2.841 MB / 421.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1797, allocations: 288 / 421.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.182, allocations: 1.488 MB / 422.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/0.1824, allocations: 196.4 kB / 423 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.1825, allocations: 19.92 kB / 423 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005323/0.183, allocations: 67.88 kB / 423 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.1832, allocations: 47.92 kB / 423.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.1832, allocations: 19.98 kB / 423.1 MB, free: 14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009503/0.1842, allocations: 0.7293 MB / 423.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1842, allocations: 0 / 423.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001096/0.1853, allocations: 358.9 kB / 424.2 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.0003012/0.1856, allocations: 147.5 kB / 424.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.187, allocations: 0.7832 MB / 425.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.187, allocations: 0 / 425.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.1881, allocations: 0.5913 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.0009465/0.1891, allocations: 175.8 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.004109/0.1932, allocations: 2.807 MB / 428.7 MB, free: 8.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.1942, allocations: 1.495 MB / 430.2 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000593/0.1948, allocations: 230.7 kB / 430.4 MB, free: 6.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.195, allocations: 63.42 kB / 430.5 MB, free: 6.531 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.195, allocations: 7.938 kB / 430.5 MB, free: 6.523 MB / 366.1 MB Notification: Performance of Templates: time 0.02082/0.2158, allocations: 11.81 MB / 442.3 MB, free: 10.69 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)