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.006491/0.006491, allocations: 107 kB / 15.74 MB, free: 6.043 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.001958/0.001958, allocations: 199 kB / 16.68 MB, free: 5.957 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.406/1.406, allocations: 205.1 MB / 222.6 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.001294/0.001294, allocations: 57.88 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08582/0.08712, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005286/0.09245, allocations: 4.602 MB / 377.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003172/0.09565, allocations: 1.752 MB / 379.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.09604, allocations: 23.88 kB / 379.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006423/0.09671, allocations: 258.3 kB / 379.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.09849, allocations: 0.6918 MB / 380.5 MB, free: 9.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.09903, allocations: 227.5 kB / 380.7 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002199/0.1012, allocations: 1.891 MB / 382.6 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.1026, allocations: 1.257 MB / 383.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009665/0.1036, allocations: 0.7865 MB / 384.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.1048, allocations: 0.9808 MB / 385.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.1051, allocations: 184 kB / 385.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005745/0.1056, allocations: 307.9 kB / 386.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004512/0.1061, allocations: 0.5414 MB / 386.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009716/0.1071, allocations: 0.8944 MB / 387.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.1095, allocations: 2.559 MB / 390.1 MB, free: 288 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1095, allocations: 7.938 kB / 390.1 MB, free: 280 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1095, allocations: 0 / 390.1 MB, free: 280 kB / 318.1 MB Notification: Performance of Transformations before backend: time 3.174e-05/0.1095, allocations: 4 kB / 390.1 MB, free: 276 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.004626/0.1142, allocations: 2.168 MB / 392.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1142, allocations: 15.89 kB / 392.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.116, allocations: 362.6 kB / 392.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.1179, allocations: 1.04 MB / 393.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.141e-05/0.118, allocations: 99.05 kB / 393.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/0.1183, allocations: 140 kB / 393.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/0.1213, allocations: 1.894 MB / 395.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.1214, allocations: 0 / 395.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/0.1216, allocations: 56 kB / 395.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/0.1217, allocations: 49.98 kB / 395.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/0.1244, allocations: 1.676 MB / 397.6 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008732/0.1331, allocations: 5.52 MB / 403.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.1362, allocations: 2.91 MB / 406 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.1369, allocations: 0.4953 MB / 406.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002251/0.1392, allocations: 1.529 MB / 408.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.1393, allocations: 46.5 kB / 408.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.104e-06/0.1393, allocations: 0 / 408.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003226/0.1425, allocations: 1.399 MB / 409.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.1426, allocations: 101 kB / 409.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.1441, allocations: 1.024 MB / 410.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/0.1442, allocations: 37.7 kB / 410.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005021/0.1447, allocations: 0.6697 MB / 411.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.1448, allocations: 193.2 kB / 411.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.145, allocations: 134.2 kB / 411.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1452, allocations: 330 kB / 412 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005972/0.1458, allocations: 365 kB / 412.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007135/0.1465, allocations: 0.5093 MB / 412.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.1478, allocations: 0.8827 MB / 413.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1479, allocations: 0 / 413.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001577/0.1494, allocations: 1.009 MB / 414.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1495, allocations: 7.938 kB / 414.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.1495, allocations: 8 kB / 414.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.1495, allocations: 11.94 kB / 414.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007821/0.1503, allocations: 175.8 kB / 414.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/0.1503, allocations: 15.92 kB / 414.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/0.1509, allocations: 91.28 kB / 415 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.151, allocations: 27.98 kB / 415.1 MB, free: 6.207 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.0007102/0.1517, allocations: 0.5247 MB / 415.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.1518, allocations: 86.97 kB / 415.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.1531, allocations: 0.6823 MB / 416.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1531, allocations: 4 kB / 416.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.1532, allocations: 4 kB / 416.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1532, allocations: 7.875 kB / 416.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.1556, allocations: 1.656 MB / 418 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1556, allocations: 0 / 418 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/0.1561, allocations: 92.16 kB / 418.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/0.1565, allocations: 157.8 kB / 418.3 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-05/0.1566, allocations: 23.98 kB / 418.3 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003276/0.1599, allocations: 2.852 MB / 421.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1599, allocations: 0 / 421.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.1621, allocations: 1.476 MB / 422.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.1625, allocations: 195.9 kB / 422.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.1626, allocations: 19.98 kB / 422.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.1631, allocations: 59.88 kB / 422.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.1633, allocations: 51.92 kB / 422.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.1633, allocations: 19.98 kB / 423 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00103/0.1644, allocations: 0.7332 MB / 423.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1644, allocations: 0 / 423.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00113/0.1655, allocations: 354.5 kB / 424 MB, free: 12.95 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.0002985/0.1658, allocations: 139.4 kB / 424.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.1672, allocations: 0.7803 MB / 425 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1672, allocations: 4.062 kB / 425 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.1683, allocations: 0.59 MB / 425.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009823/0.1693, allocations: 176.2 kB / 425.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/0.1733, allocations: 2.763 MB / 428.5 MB, free: 8.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.1744, allocations: 1.495 MB / 430 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005409/0.1749, allocations: 230.7 kB / 430.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.1751, allocations: 63.42 kB / 430.3 MB, free: 6.605 MB / 366.1 MB Notification: Performance of SimCode: time 1.613e-06/0.1751, allocations: 3.938 kB / 430.3 MB, free: 6.602 MB / 366.1 MB Notification: Performance of Templates: time 0.01938/0.1945, allocations: 11.82 MB / 442.1 MB, free: 10.76 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)