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.001089/0.001089, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.001306/0.001306, allocations: 43.94 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2134, allocations: 46.64 MB / 325.3 MB, free: 1.965 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005225/0.2187, allocations: 4.608 MB / 329.9 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003055/0.2218, allocations: 1.732 MB / 331.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002733/0.2221, allocations: 20.41 kB / 331.7 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.2227, allocations: 262.5 kB / 331.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.2242, allocations: 0.6894 MB / 332.6 MB, free: 12.17 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.2247, allocations: 240.7 kB / 332.9 MB, free: 11.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001928/0.2266, allocations: 1.879 MB / 334.7 MB, free: 10.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.2279, allocations: 1.245 MB / 336 MB, free: 9.293 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007484/0.2286, allocations: 0.7903 MB / 336.8 MB, free: 8.5 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.2297, allocations: 0.9807 MB / 337.7 MB, free: 7.516 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002411/0.2299, allocations: 188 kB / 337.9 MB, free: 7.332 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005488/0.2305, allocations: 307.9 kB / 338.2 MB, free: 7.031 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004172/0.2309, allocations: 0.5414 MB / 338.8 MB, free: 6.488 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007926/0.2317, allocations: 0.8905 MB / 339.7 MB, free: 5.594 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.2337, allocations: 2.541 MB / 342.2 MB, free: 3.047 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2338, allocations: 4 kB / 342.2 MB, free: 3.043 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2338, allocations: 0 / 342.2 MB, free: 3.043 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.951e-05/0.2338, allocations: 0 / 342.2 MB, free: 3.043 MB / 270.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.004083/0.2379, allocations: 2.172 MB / 344.4 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2379, allocations: 11.89 kB / 344.4 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.2396, allocations: 374.5 kB / 344.8 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.2411, allocations: 1.04 MB / 345.8 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.613e-05/0.2412, allocations: 99.05 kB / 345.9 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.2414, allocations: 140.1 kB / 346 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.2441, allocations: 1.882 MB / 347.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.2442, allocations: 0 / 347.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.2443, allocations: 52 kB / 348 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-05/0.2444, allocations: 53.98 kB / 348 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.247, allocations: 1.684 MB / 349.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008019/0.255, allocations: 5.587 MB / 355.3 MB, free: 5.617 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.2579, allocations: 2.914 MB / 358.2 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006921/0.2586, allocations: 0.4944 MB / 358.7 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00202/0.2606, allocations: 1.54 MB / 360.2 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.2607, allocations: 38.56 kB / 360.3 MB, free: 100 kB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 2.845e-06/0.2607, allocations: 0 / 360.3 MB, free: 100 kB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.003019/0.2637, allocations: 1.408 MB / 361.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.2638, allocations: 89.05 kB / 361.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.265, allocations: 1.028 MB / 362.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.265, allocations: 37.7 kB / 362.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.2654, allocations: 0.6735 MB / 363.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.2656, allocations: 197.6 kB / 363.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.2658, allocations: 122.2 kB / 363.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2659, allocations: 334 kB / 364.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/0.2664, allocations: 361 kB / 364.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006382/0.2671, allocations: 0.5209 MB / 365 MB, free: 11.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.2683, allocations: 0.8711 MB / 365.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.2683, allocations: 4 kB / 365.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001546/0.2699, allocations: 1.005 MB / 366.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.2699, allocations: 4 kB / 366.9 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2699, allocations: 8 kB / 366.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.2699, allocations: 11.94 kB / 366.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/0.2707, allocations: 183.7 kB / 367.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.2707, allocations: 11.98 kB / 367.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.2712, allocations: 83.5 kB / 367.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.2713, allocations: 27.98 kB / 367.2 MB, free: 8.914 MB / 302.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.0006843/0.272, allocations: 0.5247 MB / 367.7 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.2721, allocations: 86.97 kB / 367.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.2733, allocations: 0.694 MB / 368.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.2734, allocations: 4 kB / 368.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.2734, allocations: 4 kB / 368.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.2734, allocations: 7.938 kB / 368.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.2757, allocations: 1.656 MB / 370.2 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2757, allocations: 0 / 370.2 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.2762, allocations: 95.97 kB / 370.3 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004316/0.2766, allocations: 155 kB / 370.4 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/0.2767, allocations: 23.92 kB / 370.5 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002962/0.2796, allocations: 2.842 MB / 373.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2797, allocations: 4.031 kB / 373.3 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.2818, allocations: 1.476 MB / 374.8 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.2821, allocations: 188 kB / 375 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.2822, allocations: 23.98 kB / 375 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.2828, allocations: 55.88 kB / 375.1 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.283, allocations: 51.92 kB / 375.1 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.283, allocations: 27.92 kB / 375.1 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009759/0.284, allocations: 0.7293 MB / 375.9 MB, free: 15.99 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.284, allocations: 0 / 375.9 MB, free: 15.99 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00099/0.285, allocations: 362.4 kB / 376.2 MB, free: 15.64 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.0002624/0.2853, allocations: 135.7 kB / 376.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.2867, allocations: 0.8311 MB / 377.2 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2868, allocations: 4.125 kB / 377.2 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.2878, allocations: 0.5902 MB / 377.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009541/0.2888, allocations: 179.4 kB / 377.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004194/0.293, allocations: 2.806 MB / 380.8 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.2941, allocations: 1.503 MB / 382.3 MB, free: 9.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006133/0.2947, allocations: 234.7 kB / 382.5 MB, free: 9.266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.2949, allocations: 55.44 kB / 382.5 MB, free: 9.215 MB / 318.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2949, allocations: 0 / 382.5 MB, free: 9.215 MB / 318.1 MB Notification: Performance of Templates: time 0.02015/0.3151, allocations: 11.62 MB / 394.2 MB, free: 13.58 MB / 334.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)