Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001111/0.001111, allocations: 196.7 kB / 8.765 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.001039, allocations: 99.84 kB / 286.7 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.3e-05, allocations: 7.984 kB / 343.8 MB, free: 8.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1232, allocations: 51.48 MB / 395.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.5637, allocations: 125.2 MB / 0.5083 GB, free: 0.543 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/0.5641, allocations: 105.7 kB / 0.5084 GB, free: 496 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.116/1.68, allocations: 282.9 MB / 0.7847 GB, free: 56.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.785e-06/1.68, allocations: 0 / 0.7847 GB, free: 56.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00114/1.681, allocations: 167.6 kB / 0.7848 GB, free: 56.43 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03207/1.713, allocations: 7.346 MB / 0.792 GB, free: 54.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.713, allocations: 7.625 kB / 0.792 GB, free: 54.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02621/1.739, allocations: 4.003 MB / 0.7959 GB, free: 53.78 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.025/1.764, allocations: 6.681 MB / 0.8025 GB, free: 53.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001117/1.766, allocations: 237.4 kB / 0.8027 GB, free: 53.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005424/1.771, allocations: 434.7 kB / 0.8031 GB, free: 53 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02686/1.798, allocations: 10.34 MB / 0.8132 GB, free: 52.97 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03493/1.833, allocations: 11.37 MB / 0.8243 GB, free: 52.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004921/1.833, allocations: 15.77 kB / 0.8243 GB, free: 52.15 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004739/1.838, allocations: 7.094 kB / 0.8243 GB, free: 52.15 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009359/1.839, allocations: 0.6028 MB / 0.8249 GB, free: 52.13 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07971/1.919, allocations: 41.63 MB / 0.8656 GB, free: 29.76 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01967/1.939, allocations: 25.78 MB / 0.8907 GB, free: 5.844 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005158/1.944, allocations: 3.206 MB / 0.8939 GB, free: 4.551 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004777/1.944, allocations: 241.8 kB / 0.8941 GB, free: 4.355 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.279e-05/1.944, allocations: 83.23 kB / 0.8942 GB, free: 4.281 MB / 458.7 MB Notification: Performance of pre-optimization done (n=410): time 7.545e-06/1.944, allocations: 3.281 kB / 0.8942 GB, free: 4.281 MB / 458.7 MB Notification: Performance of matching and sorting (n=415): time 0.04596/1.99, allocations: 15.86 MB / 0.9097 GB, free: 9.18 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/1.991, allocations: 94.67 kB / 0.9098 GB, free: 9.074 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/1.994, allocations: 2.154 MB / 0.9119 GB, free: 7.148 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007852/1.995, allocations: 25.7 kB / 0.9119 GB, free: 7.117 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002109/1.997, allocations: 3.048 MB / 0.9149 GB, free: 4.402 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002087/1.999, allocations: 1.34 MB / 0.9162 GB, free: 3.168 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/2, allocations: 0 / 0.9162 GB, free: 3.168 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005641/2, allocations: 0.5091 MB / 0.9167 GB, free: 2.711 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004503/2.005, allocations: 2.505 MB / 0.9191 GB, free: 480 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3398/2.345, allocations: 4.728 MB / 0.9237 GB, free: 69.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/2.356, allocations: 4.545 MB / 0.9282 GB, free: 69.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001557/2.356, allocations: 13.88 kB / 0.9282 GB, free: 69.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.0246/2.38, allocations: 8.809 MB / 0.9368 GB, free: 69.28 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.152e-05/2.381, allocations: 25.06 kB / 0.9368 GB, free: 69.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/2.381, allocations: 52.53 kB / 0.9369 GB, free: 69.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003216/2.384, allocations: 1.259 MB / 0.9381 GB, free: 69.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004843/2.389, allocations: 1.166 MB / 0.9392 GB, free: 69.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/2.404, allocations: 10.38 MB / 0.9494 GB, free: 66.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004727/2.408, allocations: 220 kB / 0.9496 GB, free: 66.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007924/2.409, allocations: 232.8 kB / 0.9498 GB, free: 66.72 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 582 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(14,41.8%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001025/2.41, allocations: 253.3 kB / 0.95 GB, free: 66.61 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01603/2.426, allocations: 6.931 MB / 0.9568 GB, free: 66.44 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/2.427, allocations: 328.8 kB / 0.9571 GB, free: 66.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01718/2.445, allocations: 7.716 MB / 0.9647 GB, free: 66.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.457e-05/2.445, allocations: 42.31 kB / 0.9647 GB, free: 66.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.707e-05/2.445, allocations: 11.12 kB / 0.9647 GB, free: 66.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.605e-05/2.445, allocations: 22.88 kB / 0.9647 GB, free: 66.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03428/2.479, allocations: 15.87 MB / 0.9802 GB, free: 64.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/2.479, allocations: 3.656 kB / 0.9802 GB, free: 64.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003206/2.482, allocations: 0.7932 MB / 0.981 GB, free: 64.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002892/2.485, allocations: 1.095 MB / 0.9821 GB, free: 64.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000354/2.486, allocations: 30.12 kB / 0.9821 GB, free: 64.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/2.497, allocations: 8.992 MB / 0.9909 GB, free: 62.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/2.497, allocations: 9.531 kB / 0.9909 GB, free: 62.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/2.516, allocations: 11.63 MB / 1.002 GB, free: 56.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002457/2.519, allocations: 0.9365 MB / 1.003 GB, free: 56.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006644/2.519, allocations: 14.33 kB / 1.003 GB, free: 56.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002285/2.522, allocations: 188.6 kB / 1.003 GB, free: 56.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006469/2.522, allocations: 302.8 kB / 1.004 GB, free: 56.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002509/2.523, allocations: 126 kB / 1.004 GB, free: 56.28 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002546/2.525, allocations: 1.611 MB / 1.005 GB, free: 55.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.525, allocations: 1.125 kB / 1.005 GB, free: 55.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005907/2.531, allocations: 1.264 MB / 1.007 GB, free: 55.57 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.phi,aimc.rotorCage.port_p.reference.gamma,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (398): * Single equations (assignments): 396 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(14,40.3%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01992/2.551, allocations: 13.96 MB / 1.02 GB, free: 48.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01102/2.562, allocations: 6.624 MB / 1.027 GB, free: 45.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/2.562, allocations: 0 / 1.027 GB, free: 45.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006021/2.568, allocations: 3.525 MB / 1.03 GB, free: 44.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004609/2.573, allocations: 0.5719 MB / 1.031 GB, free: 44.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03145/2.604, allocations: 14.53 MB / 1.045 GB, free: 33.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005174/2.61, allocations: 5.216 MB / 1.05 GB, free: 29.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00495/2.615, allocations: 1.67 MB / 1.052 GB, free: 28.45 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004103/2.619, allocations: 2.583 MB / 1.054 GB, free: 26.07 MB / 474.7 MB Notification: Performance of SimCode: time 9.82e-07/2.619, allocations: 0.9375 kB / 1.054 GB, free: 26.07 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5153/3.134, allocations: 102.9 MB / 1.155 GB, free: 58.07 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/3.134, allocations: 206.6 kB / 1.155 GB, free: 57.81 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.202/8.336, allocations: 6.672 kB / 1.155 GB, free: 57.81 MB / 474.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)