Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009353/0.0009353, allocations: 92.64 kB / 16.65 MB, free: 6.535 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.001086/0.001086, allocations: 177.2 kB / 17.56 MB, free: 6.18 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.284/1.284, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.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.000452/0.000452, allocations: 12 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09105, allocations: 47.59 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004431/0.09552, allocations: 4.188 MB / 332.5 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.09864, allocations: 1.698 MB / 334.2 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006142/0.09928, allocations: 27.88 kB / 334.2 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006736/0.09997, allocations: 218.9 kB / 334.5 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.1015, allocations: 0.6457 MB / 335.1 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.102, allocations: 207.7 kB / 335.3 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.1041, allocations: 2.156 MB / 337.5 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.1053, allocations: 1.047 MB / 338.5 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007252/0.106, allocations: 0.599 MB / 339.1 MB, free: 8.879 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009439/0.1069, allocations: 0.8597 MB / 340 MB, free: 8.016 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.1071, allocations: 88 kB / 340 MB, free: 7.93 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004655/0.1076, allocations: 211.8 kB / 340.3 MB, free: 7.723 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.1079, allocations: 414.5 kB / 340.7 MB, free: 7.316 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006953/0.1086, allocations: 0.7866 MB / 341.4 MB, free: 6.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.1106, allocations: 2.402 MB / 343.8 MB, free: 4.109 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1106, allocations: 4 kB / 343.9 MB, free: 4.105 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1106, allocations: 0 / 343.9 MB, free: 4.105 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.74e-05/0.1106, allocations: 0 / 343.9 MB, free: 4.105 MB / 286.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.003969/0.1146, allocations: 1.915 MB / 345.8 MB, free: 2.137 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1146, allocations: 8.031 kB / 345.8 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.1164, allocations: 370.6 kB / 346.1 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.118, allocations: 1.036 MB / 347.2 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.997e-05/0.118, allocations: 107 kB / 347.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.1183, allocations: 136.1 kB / 347.4 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00307/0.1213, allocations: 1.894 MB / 349.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.1214, allocations: 0 / 349.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.1215, allocations: 56 kB / 349.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/0.1216, allocations: 49.98 kB / 349.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/0.1244, allocations: 1.707 MB / 351.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008625/0.1331, allocations: 5.63 MB / 356.7 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003442/0.1366, allocations: 2.93 MB / 359.7 MB, free: 3.488 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000778/0.1374, allocations: 0.507 MB / 360.2 MB, free: 2.977 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002319/0.1397, allocations: 1.536 MB / 361.7 MB, free: 1.371 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1397, allocations: 38.56 kB / 361.8 MB, free: 1.324 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.475e-06/0.1398, allocations: 4.281 kB / 361.8 MB, free: 1.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003256/0.143, allocations: 1.454 MB / 363.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.1431, allocations: 88.98 kB / 363.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.1444, allocations: 1.032 MB / 364.3 MB, free: 14.69 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.1445, allocations: 37.7 kB / 364.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/0.1449, allocations: 0.6774 MB / 365 MB, free: 13.96 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.1451, allocations: 197.3 kB / 365.2 MB, free: 13.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.919e-05/0.1452, allocations: 61.69 kB / 365.3 MB, free: 13.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1453, allocations: 334 kB / 365.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/0.1459, allocations: 369 kB / 366 MB, free: 13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006805/0.1466, allocations: 0.5248 MB / 366.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.1479, allocations: 0.8985 MB / 367.4 MB, free: 11.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.1479, allocations: 4 kB / 367.4 MB, free: 11.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00163/0.1495, allocations: 1.036 MB / 368.4 MB, free: 10.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.1496, allocations: 8 kB / 368.5 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1496, allocations: 4 kB / 368.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.1496, allocations: 11.94 kB / 368.5 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007514/0.1504, allocations: 192 kB / 368.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.1504, allocations: 15.92 kB / 368.7 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.151, allocations: 83.34 kB / 368.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.151, allocations: 31.98 kB / 368.8 MB, free: 10.05 MB / 318.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.0007649/0.1518, allocations: 0.5211 MB / 369.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.1519, allocations: 94.88 kB / 369.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.1532, allocations: 0.7019 MB / 370.1 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.1532, allocations: 4 kB / 370.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.1532, allocations: 4 kB / 370.1 MB, free: 8.703 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1533, allocations: 7.938 kB / 370.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.1556, allocations: 1.668 MB / 371.8 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.1556, allocations: 0 / 371.8 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.1561, allocations: 95.88 kB / 371.9 MB, free: 6.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004266/0.1565, allocations: 164.1 kB / 372 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.1566, allocations: 15.98 kB / 372.1 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002926/0.1595, allocations: 2.611 MB / 374.7 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1596, allocations: 0 / 374.7 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.1621, allocations: 1.522 MB / 376.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.1624, allocations: 188 kB / 376.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.1625, allocations: 24.11 kB / 376.4 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005415/0.163, allocations: 67.94 kB / 376.5 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.1632, allocations: 51.86 kB / 376.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.1632, allocations: 19.98 kB / 376.5 MB, free: 2.031 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009193/0.1642, allocations: 0.7293 MB / 377.3 MB, free: 1.305 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1642, allocations: 0 / 377.3 MB, free: 1.305 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009464/0.1651, allocations: 354.5 kB / 377.6 MB, free: 0.957 MB / 318.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.0002295/0.1654, allocations: 143.3 kB / 377.8 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.1667, allocations: 0.7999 MB / 378.6 MB, free: 8 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.1667, allocations: 7.938 kB / 378.6 MB, free: 0 / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1452/0.3119, allocations: 0.5906 MB / 379.1 MB, free: 52.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.3132, allocations: 168.4 kB / 379.3 MB, free: 52.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/0.3178, allocations: 3.488 MB / 382.8 MB, free: 50.87 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.319, allocations: 1.495 MB / 384.3 MB, free: 50.14 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007455/0.3197, allocations: 234.5 kB / 384.5 MB, free: 50.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.3199, allocations: 58.77 kB / 384.6 MB, free: 50.11 MB / 318.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3199, allocations: 1.094 kB / 384.6 MB, free: 50.11 MB / 318.1 MB Notification: Performance of Templates: time 0.01931/0.3392, allocations: 10.9 MB / 395.5 MB, free: 46.41 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)