Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.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.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01062/0.01062, allocations: 166.7 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.232/1.232, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001596/0.001596, allocations: 110.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2316, allocations: 38.77 MB / 312.9 MB, free: 38.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.35, allocations: 99.42 MB / 412.3 MB, free: 7.031 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.3503, allocations: 91.95 kB / 412.4 MB, free: 6.941 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6513/1.002, allocations: 150.7 MB / 0.5499 GB, free: 42.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.002, allocations: 0 / 0.5499 GB, free: 42.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006026/1.002, allocations: 166.9 kB / 0.5501 GB, free: 42.55 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.02275/1.025, allocations: 6.721 MB / 0.5567 GB, free: 40.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.025, allocations: 10.78 kB / 0.5567 GB, free: 40.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005859/1.031, allocations: 1.064 MB / 0.5577 GB, free: 40.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/1.042, allocations: 4.712 MB / 0.5623 GB, free: 39.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004276/1.042, allocations: 0.4884 MB / 0.5628 GB, free: 39.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002289/1.044, allocations: 0.6474 MB / 0.5634 GB, free: 39.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02137/1.066, allocations: 8.573 MB / 0.5718 GB, free: 38.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002053/1.066, allocations: 11.09 kB / 0.5718 GB, free: 38.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/1.067, allocations: 281.7 kB / 0.5721 GB, free: 38.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002212/1.067, allocations: 292.2 kB / 0.5723 GB, free: 38.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01574/1.083, allocations: 6.689 MB / 0.5789 GB, free: 38.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05239/1.136, allocations: 26.5 MB / 0.6048 GB, free: 31.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00593/1.142, allocations: 5.361 MB / 0.61 GB, free: 27.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/1.142, allocations: 40.22 kB / 0.61 GB, free: 27.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/1.142, allocations: 59.44 kB / 0.6101 GB, free: 27.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=254): time 5.29e-06/1.142, allocations: 0 / 0.6101 GB, free: 27.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=296): time 0.02937/1.171, allocations: 13.18 MB / 0.623 GB, free: 21.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/1.171, allocations: 80.86 kB / 0.623 GB, free: 21.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004785/1.176, allocations: 2.847 MB / 0.6258 GB, free: 20.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005873/1.177, allocations: 77.02 kB / 0.6259 GB, free: 20.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001648/1.178, allocations: 2.845 MB / 0.6287 GB, free: 18.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/1.179, allocations: 1.013 MB / 0.6297 GB, free: 17.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/1.18, allocations: 72.12 kB / 0.6297 GB, free: 17.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/1.18, allocations: 447.3 kB / 0.6302 GB, free: 16.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/1.182, allocations: 1.523 MB / 0.6316 GB, free: 16.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002798/1.185, allocations: 2.462 MB / 0.634 GB, free: 14.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/1.188, allocations: 1.991 MB / 0.636 GB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/1.188, allocations: 7.844 kB / 0.636 GB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=447) (initialization): time 0.009128/1.197, allocations: 5.385 MB / 0.6413 GB, free: 11.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/1.197, allocations: 16.16 kB / 0.6413 GB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.846e-05/1.197, allocations: 28.53 kB / 0.6413 GB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00237/1.199, allocations: 0.9136 MB / 0.6422 GB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003041/1.202, allocations: 0.7325 MB / 0.6429 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/1.218, allocations: 14.79 MB / 0.6573 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004376/1.223, allocations: 153 kB / 0.6575 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006615/1.223, allocations: 143.8 kB / 0.6576 GB, free: 14.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * 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 (381): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 16,(1,100.0%) 1,(1,100.0%) 5,(4,93.8%) 16,(1,100.0%) 1,(3,77.8%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005472/1.229, allocations: 2.061 MB / 0.6596 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/1.23, allocations: 370.7 kB / 0.66 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009136/1.239, allocations: 4.777 MB / 0.6647 GB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.718e-05/1.239, allocations: 32 kB / 0.6647 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/1.239, allocations: 12 kB / 0.6647 GB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.668e-05/1.239, allocations: 14.44 kB / 0.6647 GB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0286/1.268, allocations: 12.04 MB / 0.6765 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.771e-05/1.268, allocations: 7.062 kB / 0.6765 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/1.27, allocations: 437.9 kB / 0.6769 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002619/1.273, allocations: 1.056 MB / 0.6779 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003769/1.273, allocations: 75.78 kB / 0.678 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2193/1.493, allocations: 18.46 MB / 0.696 GB, free: 62.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.493, allocations: 12.28 kB / 0.696 GB, free: 62.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/1.503, allocations: 7.331 MB / 0.7032 GB, free: 60.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002664/1.505, allocations: 0.7773 MB / 0.704 GB, free: 60.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009047/1.506, allocations: 68.36 kB / 0.704 GB, free: 60.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/1.508, allocations: 146 kB / 0.7042 GB, free: 60.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005492/1.509, allocations: 224.3 kB / 0.7044 GB, free: 60.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/1.509, allocations: 82.97 kB / 0.7045 GB, free: 60.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003438/1.512, allocations: 2.174 MB / 0.7066 GB, free: 60.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.512, allocations: 0 / 0.7066 GB, free: 60.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004819/1.517, allocations: 1.203 MB / 0.7078 GB, free: 60.51 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.stator.strayReluctance.Phi.re,smrM.stator.strayReluctance.Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.stator.strayReluctance.Phi.re,smr3.stator.strayReluctance.Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * 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 (216): * Single equations (assignments): 209 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(4,93.8%) 16,(1,100.0%) 5,(4,93.8%) 16,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000907/1.518, allocations: 481.6 kB / 0.7082 GB, free: 60.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008732/1.527, allocations: 5.068 MB / 0.7132 GB, free: 59.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/1.527, allocations: 2.406 kB / 0.7132 GB, free: 59.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005929/1.533, allocations: 3.274 MB / 0.7164 GB, free: 58.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/1.537, allocations: 0.9328 MB / 0.7173 GB, free: 58.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/1.562, allocations: 14.49 MB / 0.7314 GB, free: 52.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004976/1.567, allocations: 4.318 MB / 0.7356 GB, free: 51.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003167/1.57, allocations: 0.7387 MB / 0.7364 GB, free: 51.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007693/1.571, allocations: 244.5 kB / 0.7366 GB, free: 51.53 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/1.571, allocations: 0 / 0.7366 GB, free: 51.53 MB / 394.7 MB Notification: Performance of Templates: time 0.09576/1.667, allocations: 58.78 MB / 0.794 GB, free: 38.21 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1)