Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009386/0.0009386, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.273/1.273, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001646/0.001646, allocations: 116.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.708e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07377/0.07382, allocations: 44.5 MB / 349.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2996/0.3735, allocations: 103.1 MB / 452.5 MB, free: 8.719 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.3738, allocations: 92.5 kB / 452.6 MB, free: 8.668 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1826/0.5564, allocations: 79.42 MB / 0.5196 GB, free: 15.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5564, allocations: 3.938 kB / 0.5196 GB, free: 15.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002127/0.5567, allocations: 75.94 kB / 0.5196 GB, free: 15.36 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.008073/0.5647, allocations: 3.164 MB / 0.5227 GB, free: 12.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.5648, allocations: 8.031 kB / 0.5227 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004148/0.5689, allocations: 0.7261 MB / 0.5234 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008186/0.5772, allocations: 3.268 MB / 0.5266 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.5774, allocations: 230.3 kB / 0.5268 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005969/0.578, allocations: 311.9 kB / 0.5271 GB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007298/0.5853, allocations: 4.054 MB / 0.5311 GB, free: 3.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-05/0.5854, allocations: 8 kB / 0.5311 GB, free: 3.355 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002987/0.5857, allocations: 128 kB / 0.5312 GB, free: 3.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001366/0.5858, allocations: 150.2 kB / 0.5314 GB, free: 3.082 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2152/0.801, allocations: 3.28 MB / 0.5346 GB, free: 74.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0209/0.8219, allocations: 13.23 MB / 0.5475 GB, free: 72.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005882/0.8279, allocations: 6.804 MB / 0.5541 GB, free: 67.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/0.8301, allocations: 1.327 MB / 0.5554 GB, free: 67.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006171/0.8363, allocations: 3.71 MB / 0.5591 GB, free: 66.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.8363, allocations: 44.75 kB / 0.5591 GB, free: 66.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 3.426e-06/0.8363, allocations: 1.844 kB / 0.5591 GB, free: 66.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.005734/0.8421, allocations: 3.807 MB / 0.5628 GB, free: 65.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.8421, allocations: 66.16 kB / 0.5629 GB, free: 65.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.8441, allocations: 1.466 MB / 0.5643 GB, free: 65.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.042e-05/0.8442, allocations: 43.02 kB / 0.5644 GB, free: 65.44 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000645/0.8448, allocations: 1.425 MB / 0.5658 GB, free: 64.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.845, allocations: 417.7 kB / 0.5662 GB, free: 64.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.8451, allocations: 32.06 kB / 0.5662 GB, free: 64.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.881e-05/0.8452, allocations: 364.2 kB / 0.5665 GB, free: 64.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007823/0.846, allocations: 0.5935 MB / 0.5671 GB, free: 64.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009626/0.847, allocations: 1.062 MB / 0.5681 GB, free: 63.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.848, allocations: 0.7997 MB / 0.5689 GB, free: 63.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.848, allocations: 10.75 kB / 0.5689 GB, free: 63.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002868/0.8509, allocations: 2.213 MB / 0.5711 GB, free: 63.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.8509, allocations: 11.78 kB / 0.5711 GB, free: 63.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.8509, allocations: 20.06 kB / 0.5711 GB, free: 63.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000596/0.8515, allocations: 261.8 kB / 0.5714 GB, free: 63.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.8528, allocations: 363 kB / 0.5717 GB, free: 63.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003846/0.8566, allocations: 5.674 MB / 0.5773 GB, free: 59.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.8579, allocations: 79.64 kB / 0.5773 GB, free: 59.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.314e-05/0.858, allocations: 66.09 kB / 0.5774 GB, free: 59.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.8582, allocations: 205.7 kB / 0.5776 GB, free: 59.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.8584, allocations: 177.2 kB / 0.5778 GB, free: 58.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/0.8613, allocations: 2.026 MB / 0.5797 GB, free: 57.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.8614, allocations: 17.73 kB / 0.5798 GB, free: 57.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.8614, allocations: 9.688 kB / 0.5798 GB, free: 57.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.8614, allocations: 7.547 kB / 0.5798 GB, free: 57.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006048/0.8674, allocations: 4.698 MB / 0.5844 GB, free: 55.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.8675, allocations: 3.844 kB / 0.5844 GB, free: 55.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/0.8682, allocations: 176.6 kB / 0.5845 GB, free: 55.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009591/0.8691, allocations: 443.1 kB / 0.585 GB, free: 55.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/0.8692, allocations: 33.67 kB / 0.585 GB, free: 55.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006867/0.8761, allocations: 10.04 MB / 0.5948 GB, free: 47.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8761, allocations: 6.562 kB / 0.5948 GB, free: 47.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003582/0.8797, allocations: 2.959 MB / 0.5977 GB, free: 45.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008744/0.8806, allocations: 413.6 kB / 0.5981 GB, free: 45.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.8808, allocations: 33.89 kB / 0.5981 GB, free: 45.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008107/0.8816, allocations: 74.67 kB / 0.5982 GB, free: 45.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.8819, allocations: 89.84 kB / 0.5983 GB, free: 45.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.83e-05/0.8819, allocations: 42.69 kB / 0.5983 GB, free: 45.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001424/0.8834, allocations: 1.121 MB / 0.5994 GB, free: 44.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8834, allocations: 0 / 0.5994 GB, free: 44.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001825/0.8852, allocations: 0.5775 MB / 0.6 GB, free: 44.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005523/0.8858, allocations: 390.4 kB / 0.6004 GB, free: 44.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00245/0.8882, allocations: 1.973 MB / 0.6023 GB, free: 43.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8882, allocations: 3.219 kB / 0.6023 GB, free: 43.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.89, allocations: 1.469 MB / 0.6037 GB, free: 42.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.8919, allocations: 479.8 kB / 0.6042 GB, free: 42.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/0.8985, allocations: 4.433 MB / 0.6085 GB, free: 40.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/0.9, allocations: 2.333 MB / 0.6108 GB, free: 39.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001348/0.9014, allocations: 381.9 kB / 0.6111 GB, free: 39.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.9017, allocations: 122.2 kB / 0.6113 GB, free: 39.33 MB / 394.7 MB Notification: Performance of SimCode: time 1.362e-06/0.9017, allocations: 6.672 kB / 0.6113 GB, free: 39.33 MB / 394.7 MB Notification: Performance of Templates: time 0.04133/0.943, allocations: 28.31 MB / 0.6389 GB, free: 31.42 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1)