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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001407/0.001407, allocations: 166.2 kB / 7.641 MB, free: 1.406 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.177/1.177, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001616/0.001616, allocations: 107.5 kB / 218 MB, free: 8.336 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.29e-05/1.292e-05, allocations: 0 / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06266/0.06269, allocations: 38.79 MB / 301 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2471/0.3098, allocations: 73.43 MB / 374.4 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.3101, allocations: 77.7 kB / 374.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07109/0.3812, allocations: 29.3 MB / 403.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3812, allocations: 0 / 403.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.076e-05/0.3813, allocations: 35.98 kB / 403.8 MB, free: 2.996 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.003673/0.385, allocations: 1.646 MB / 405.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.385, allocations: 12.03 kB / 405.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007747/0.3858, allocations: 228.8 kB / 405.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.3876, allocations: 1.053 MB / 406.8 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.485e-05/0.3877, allocations: 44 kB / 406.8 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.3878, allocations: 72 kB / 406.9 MB, free: 196 kB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002034/0.3899, allocations: 1.29 MB / 408.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.3922, allocations: 1.488 MB / 409.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.3922, allocations: 0 / 409.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.3923, allocations: 4 kB / 409.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.227e-05/0.3924, allocations: 42 kB / 409.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007377/0.3998, allocations: 4.992 MB / 414.7 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009583/0.4007, allocations: 1.032 MB / 415.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.4012, allocations: 346.4 kB / 416.1 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.4012, allocations: 8.406 kB / 416.1 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.4012, allocations: 43.27 kB / 416.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 2.224e-06/0.4012, allocations: 0 / 416.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.001195/0.4024, allocations: 0.7167 MB / 416.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.4025, allocations: 96.98 kB / 416.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.4036, allocations: 0.8635 MB / 417.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.4037, allocations: 25.7 kB / 417.8 MB, free: 5.113 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.4041, allocations: 0.6503 MB / 418.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.4042, allocations: 177.4 kB / 418.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.4043, allocations: 0 / 418.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4044, allocations: 330 kB / 419 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.4048, allocations: 293.4 kB / 419.2 MB, free: 3.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/0.4052, allocations: 444.4 kB / 419.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.4057, allocations: 365 kB / 420 MB, free: 2.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4057, allocations: 0 / 420 MB, free: 2.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001169/0.4069, allocations: 0.8302 MB / 420.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.4069, allocations: 8 kB / 420.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.407, allocations: 4 kB / 420.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.407, allocations: 15.89 kB / 420.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/0.4078, allocations: 176.1 kB / 421.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.4078, allocations: 19.91 kB / 421.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.4083, allocations: 67.41 kB / 421.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.4084, allocations: 20 kB / 421.2 MB, free: 1.664 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.4085, allocations: 121.7 kB / 421.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.4087, allocations: 90.97 kB / 421.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.4089, allocations: 100.1 kB / 421.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.4089, allocations: 4 kB / 421.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.4089, allocations: 7.953 kB / 421.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.409, allocations: 3.984 kB / 421.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.4119, allocations: 1.971 MB / 423.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4119, allocations: 0 / 423.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.4123, allocations: 87.88 kB / 423.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004151/0.4127, allocations: 153.3 kB / 423.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.4128, allocations: 15.98 kB / 423.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/0.4155, allocations: 2.521 MB / 426.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4155, allocations: 4.094 kB / 426.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.4174, allocations: 1.31 MB / 427.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005187/0.4179, allocations: 251.9 kB / 427.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.4181, allocations: 11.98 kB / 427.8 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006234/0.4187, allocations: 55.94 kB / 427.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.4188, allocations: 51.86 kB / 427.9 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.4189, allocations: 16 kB / 427.9 MB, free: 10.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001059/0.42, allocations: 0.6708 MB / 428.6 MB, free: 9.969 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.42, allocations: 0 / 428.6 MB, free: 9.969 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001128/0.4211, allocations: 318.5 kB / 428.9 MB, free: 9.656 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002449/0.4214, allocations: 123.8 kB / 429 MB, free: 9.527 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.4224, allocations: 0.624 MB / 429.7 MB, free: 8.906 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4224, allocations: 0 / 429.7 MB, free: 8.906 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009551/0.4234, allocations: 0.4966 MB / 430.2 MB, free: 8.398 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009407/0.4244, allocations: 143.3 kB / 430.3 MB, free: 8.254 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/0.4279, allocations: 2.18 MB / 432.5 MB, free: 6.027 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.4291, allocations: 1.494 MB / 434 MB, free: 4.504 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005938/0.4297, allocations: 206.3 kB / 434.2 MB, free: 4.297 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.4299, allocations: 51.44 kB / 434.2 MB, free: 4.246 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4299, allocations: 3.938 kB / 434.2 MB, free: 4.242 MB / 314.7 MB Notification: Performance of Templates: time 0.01736/0.4472, allocations: 9.119 MB / 443.3 MB, free: 11.11 MB / 330.7 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)