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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 197.5 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008319/0.0008319, allocations: 98.3 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.17e-05/2.173e-05, allocations: 4 kB / 343.7 MB, free: 8.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 51.48 MB / 395.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3859/0.4904, allocations: 125.2 MB / 0.5082 GB, free: 492 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003696/0.4909, allocations: 100.1 kB / 0.5083 GB, free: 440 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012/1.503, allocations: 282.9 MB / 0.7846 GB, free: 56.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.595e-06/1.503, allocations: 0.9688 kB / 0.7846 GB, free: 56.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007003/1.504, allocations: 166.6 kB / 0.7847 GB, free: 56.38 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.0309/1.535, allocations: 7.35 MB / 0.7919 GB, free: 54.15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.535, allocations: 7.281 kB / 0.7919 GB, free: 54.15 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02489/1.56, allocations: 3.993 MB / 0.7958 GB, free: 53.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01935/1.579, allocations: 6.675 MB / 0.8023 GB, free: 52.96 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005737/1.58, allocations: 237.4 kB / 0.8026 GB, free: 52.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004365/1.584, allocations: 437.7 kB / 0.803 GB, free: 52.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02233/1.606, allocations: 10.34 MB / 0.8131 GB, free: 52.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03008/1.636, allocations: 11.37 MB / 0.8242 GB, free: 52.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004141/1.637, allocations: 10.97 kB / 0.8242 GB, free: 52.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002477/1.639, allocations: 3.875 kB / 0.8242 GB, free: 52.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005994/1.64, allocations: 0.612 MB / 0.8248 GB, free: 52.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06229/1.702, allocations: 41.63 MB / 0.8654 GB, free: 29.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01614/1.718, allocations: 25.79 MB / 0.8906 GB, free: 5.793 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005137/1.724, allocations: 3.207 MB / 0.8938 GB, free: 4.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005324/1.724, allocations: 243.5 kB / 0.894 GB, free: 4.305 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.571e-05/1.724, allocations: 78.38 kB / 0.8941 GB, free: 4.234 MB / 458.7 MB Notification: Performance of pre-optimization done (n=410): time 7.784e-06/1.724, allocations: 3.031 kB / 0.8941 GB, free: 4.234 MB / 458.7 MB Notification: Performance of matching and sorting (n=415): time 0.0441/1.768, allocations: 15.84 MB / 0.9095 GB, free: 9.168 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/1.769, allocations: 98.61 kB / 0.9096 GB, free: 9.059 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/1.772, allocations: 2.157 MB / 0.9117 GB, free: 7.129 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005579/1.773, allocations: 25.7 kB / 0.9118 GB, free: 7.098 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00204/1.775, allocations: 3.042 MB / 0.9147 GB, free: 4.387 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001441/1.776, allocations: 1.341 MB / 0.916 GB, free: 3.152 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/1.777, allocations: 0 / 0.916 GB, free: 3.152 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003304/1.777, allocations: 0.5045 MB / 0.9165 GB, free: 2.699 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003702/1.781, allocations: 2.511 MB / 0.919 GB, free: 464 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3079/2.088, allocations: 4.73 MB / 0.9236 GB, free: 69.44 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/2.099, allocations: 4.548 MB / 0.928 GB, free: 69.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.08e-05/2.099, allocations: 14 kB / 0.9281 GB, free: 69.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01777/2.117, allocations: 8.799 MB / 0.9367 GB, free: 69.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/2.117, allocations: 26.06 kB / 0.9367 GB, free: 69.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.672e-05/2.117, allocations: 50.34 kB / 0.9367 GB, free: 69.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003144/2.12, allocations: 1.265 MB / 0.938 GB, free: 69.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004251/2.124, allocations: 1.172 MB / 0.9391 GB, free: 69.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/2.138, allocations: 10.38 MB / 0.9492 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004995/2.143, allocations: 214.5 kB / 0.9494 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000913/2.144, allocations: 236.6 kB / 0.9497 GB, free: 66.7 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.0009988/2.145, allocations: 249.7 kB / 0.9499 GB, free: 66.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000805/2.146, allocations: 333.8 kB / 0.9502 GB, free: 66.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01683/2.163, allocations: 7.71 MB / 0.9578 GB, free: 66.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-05/2.163, allocations: 43.22 kB / 0.9578 GB, free: 66.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/2.163, allocations: 9.625 kB / 0.9578 GB, free: 66.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-05/2.163, allocations: 27.62 kB / 0.9578 GB, free: 66.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03127/2.194, allocations: 15.87 MB / 0.9733 GB, free: 65.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/2.194, allocations: 7.188 kB / 0.9733 GB, free: 65.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003094/2.198, allocations: 0.7856 MB / 0.9741 GB, free: 65.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002871/2.2, allocations: 1.09 MB / 0.9752 GB, free: 65.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003891/2.201, allocations: 32.62 kB / 0.9752 GB, free: 65.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/2.212, allocations: 8.997 MB / 0.984 GB, free: 62.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/2.212, allocations: 6.406 kB / 0.984 GB, free: 62.41 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01904/2.231, allocations: 11.62 MB / 0.9953 GB, free: 59.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/2.233, allocations: 0.9438 MB / 0.9963 GB, free: 58.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005102/2.234, allocations: 14.28 kB / 0.9963 GB, free: 58.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/2.236, allocations: 187.8 kB / 0.9965 GB, free: 58.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006329/2.236, allocations: 295.8 kB / 0.9967 GB, free: 58.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002828/2.237, allocations: 129.9 kB / 0.9969 GB, free: 58.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002547/2.239, allocations: 1.612 MB / 0.9984 GB, free: 57.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/2.239, allocations: 0 / 0.9984 GB, free: 57.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005229/2.244, allocations: 1.263 MB / 0.9997 GB, free: 57.89 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.000854/2.245, allocations: 427.6 kB / 1 GB, free: 57.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009212/2.254, allocations: 6.627 MB / 1.007 GB, free: 55.13 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/2.254, allocations: 3.125 kB / 1.007 GB, free: 55.13 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004927/2.259, allocations: 3.52 MB / 1.01 GB, free: 53.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/2.263, allocations: 0.5632 MB / 1.011 GB, free: 53.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/2.286, allocations: 12.46 MB / 1.023 GB, free: 48.51 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005293/2.291, allocations: 5.214 MB / 1.028 GB, free: 46.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004878/2.296, allocations: 1.661 MB / 1.029 GB, free: 46.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009484/2.297, allocations: 304.8 kB / 1.03 GB, free: 46.29 MB / 474.7 MB Notification: Performance of SimCode: time 9.41e-07/2.297, allocations: 0 / 1.03 GB, free: 46.29 MB / 474.7 MB Notification: Performance of Templates: time 0.08945/2.387, allocations: 53.91 MB / 1.082 GB, free: 13.37 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (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 & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)