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.001427/0.001428, allocations: 110.1 kB / 16.51 MB, free: 6.707 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.001611/0.001611, allocations: 187.9 kB / 17.42 MB, free: 6.07 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.286/1.286, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001187/0.001187, allocations: 43.94 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08369/0.08489, allocations: 46.63 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005263/0.09019, allocations: 4.609 MB / 330.6 MB, free: 240 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.09315, allocations: 1.737 MB / 332.3 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003914/0.09359, allocations: 19.88 kB / 332.3 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.09417, allocations: 222.8 kB / 332.5 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.09562, allocations: 0.6535 MB / 333.2 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.09608, allocations: 211.6 kB / 333.4 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00202/0.09811, allocations: 2.156 MB / 335.6 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.09917, allocations: 1.051 MB / 336.6 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007379/0.09992, allocations: 0.677 MB / 337.3 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008983/0.1008, allocations: 0.9456 MB / 338.2 MB, free: 8.512 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.101, allocations: 120 kB / 338.4 MB, free: 8.395 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005226/0.1015, allocations: 243.8 kB / 338.6 MB, free: 8.156 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.1019, allocations: 462.5 kB / 339 MB, free: 7.703 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007338/0.1026, allocations: 0.8162 MB / 339.9 MB, free: 6.883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.1045, allocations: 2.485 MB / 342.3 MB, free: 4.391 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1045, allocations: 0 / 342.3 MB, free: 4.391 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1045, allocations: 0 / 342.3 MB, free: 4.391 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.1045, allocations: 0 / 342.3 MB, free: 4.391 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.004239/0.1087, allocations: 2.172 MB / 344.5 MB, free: 2.164 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1088, allocations: 8.031 kB / 344.5 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.1106, allocations: 370.6 kB / 344.9 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.1122, allocations: 1.04 MB / 345.9 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.785e-05/0.1123, allocations: 103 kB / 346 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.1125, allocations: 136.1 kB / 346.2 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003106/0.1156, allocations: 1.882 MB / 348 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.1157, allocations: 3.938 kB / 348 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.1158, allocations: 56 kB / 348.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.487e-05/0.1159, allocations: 50 kB / 348.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.1186, allocations: 1.684 MB / 349.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008094/0.1267, allocations: 5.579 MB / 355.4 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/0.1295, allocations: 2.916 MB / 358.3 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006947/0.1302, allocations: 0.4953 MB / 358.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002041/0.1322, allocations: 1.529 MB / 360.4 MB, free: 1.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1323, allocations: 42.55 kB / 360.4 MB, free: 1.461 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.975e-06/0.1323, allocations: 3.938 kB / 360.4 MB, free: 1.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.002991/0.1353, allocations: 1.407 MB / 361.8 MB, free: 20 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.1354, allocations: 88.98 kB / 361.9 MB, free: 15.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.1366, allocations: 1.028 MB / 362.9 MB, free: 14.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.1366, allocations: 37.7 kB / 363 MB, free: 14.83 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/0.1371, allocations: 0.6813 MB / 363.6 MB, free: 14.14 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.1372, allocations: 189.3 kB / 363.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.1374, allocations: 126.2 kB / 363.9 MB, free: 13.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1375, allocations: 330 kB / 364.3 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000573/0.1381, allocations: 365 kB / 364.6 MB, free: 13.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/0.1388, allocations: 0.5171 MB / 365.1 MB, free: 12.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.14, allocations: 0.8672 MB / 366 MB, free: 11.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.1401, allocations: 0 / 366 MB, free: 11.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00165/0.1417, allocations: 1.009 MB / 367 MB, free: 10.6 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1418, allocations: 11.12 kB / 367 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.1418, allocations: 4 kB / 367 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.1418, allocations: 11.94 kB / 367 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007331/0.1425, allocations: 183.8 kB / 367.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.1426, allocations: 16.12 kB / 367.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.1431, allocations: 83.33 kB / 367.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.1432, allocations: 28 kB / 367.3 MB, free: 10.27 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.0007683/0.1439, allocations: 0.5211 MB / 367.9 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.1441, allocations: 94.86 kB / 368 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.1454, allocations: 0.6866 MB / 368.6 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1454, allocations: 4 kB / 368.7 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.1454, allocations: 8 kB / 368.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.1454, allocations: 11.86 kB / 368.7 MB, free: 8.926 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/0.148, allocations: 1.648 MB / 370.3 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.148, allocations: 0 / 370.3 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.1484, allocations: 104 kB / 370.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004429/0.1489, allocations: 156.5 kB / 370.6 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/0.1489, allocations: 19.98 kB / 370.6 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/0.1517, allocations: 2.606 MB / 373.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.1518, allocations: 3.984 kB / 373.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.1539, allocations: 1.488 MB / 374.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/0.1542, allocations: 188 kB / 374.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.1544, allocations: 20 kB / 374.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005796/0.155, allocations: 59.94 kB / 375 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.1551, allocations: 59.84 kB / 375 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.1552, allocations: 16 kB / 375 MB, free: 2.316 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001058/0.1562, allocations: 0.7332 MB / 375.8 MB, free: 1.586 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1562, allocations: 0 / 375.8 MB, free: 1.586 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001149/0.1574, allocations: 358.4 kB / 376.1 MB, free: 1.234 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.0003038/0.1577, allocations: 139.1 kB / 376.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.1591, allocations: 0.7681 MB / 377 MB, free: 328 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1591, allocations: 0 / 377 MB, free: 328 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.131/0.2901, allocations: 0.5812 MB / 377.6 MB, free: 53.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.2913, allocations: 168.6 kB / 377.8 MB, free: 53.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004518/0.2958, allocations: 3.396 MB / 381.2 MB, free: 51.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009542/0.2968, allocations: 1.49 MB / 382.6 MB, free: 50.99 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006883/0.2975, allocations: 235.9 kB / 382.9 MB, free: 50.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.2977, allocations: 62.05 kB / 382.9 MB, free: 50.96 MB / 318.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2977, allocations: 0 / 382.9 MB, free: 50.96 MB / 318.1 MB Notification: Performance of Templates: time 0.01992/0.3176, allocations: 11.06 MB / 394 MB, free: 47.4 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)