Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Rectifier,tolerance=1e-07,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier") translateModel(HanserModelica.SynchronousMachines.SMEE_Rectifier,tolerance=1e-07,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001845/0.001845, allocations: 168.8 kB / 16.11 MB, free: 5.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.07004/0.07004, allocations: 8.775 MB / 25.64 MB, free: 3.793 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.4 MB / 233.9 MB, free: 12.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007989/0.000799, allocations: 85.06 kB / 284.4 MB, free: 14.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.0004322, allocations: 12 kB / 344.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2383, allocations: 49.71 MB / 394.5 MB, free: 36.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3802/0.6186, allocations: 134.1 MB / 0.5162 GB, free: 99.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.6189, allocations: 79.91 kB / 0.5163 GB, free: 99.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2079/0.8268, allocations: 98 MB / 0.612 GB, free: 1.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.8268, allocations: 0 / 0.612 GB, free: 1.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000413/0.8273, allocations: 95.94 kB / 0.6121 GB, free: 1.262 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 984 * Number of variables: 984 Notification: Performance of Generate backend data structure: time 0.01434/0.8416, allocations: 4.234 MB / 0.6162 GB, free: 12.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.8417, allocations: 11.98 kB / 0.6162 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005519/0.8472, allocations: 0.9207 MB / 0.6171 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00953/0.8568, allocations: 3.171 MB / 0.6202 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003514/0.8572, allocations: 279.9 kB / 0.6205 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001584/0.8588, allocations: 376.3 kB / 0.6208 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/0.8737, allocations: 4.854 MB / 0.6256 GB, free: 3.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/0.8739, allocations: 15.78 kB / 0.6256 GB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005575/0.8744, allocations: 167.9 kB / 0.6258 GB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/0.8746, allocations: 159.4 kB / 0.6259 GB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007725/0.8824, allocations: 3.988 MB / 0.6298 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0261/0.9085, allocations: 16.59 MB / 0.646 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007801/0.9163, allocations: 8.196 MB / 0.654 GB, free: 4.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002945/0.9193, allocations: 1.854 MB / 0.6558 GB, free: 2.875 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.299/1.218, allocations: 5.359 MB / 0.6611 GB, free: 65.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/1.218, allocations: 57.47 kB / 0.6611 GB, free: 65.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 4.438e-06/1.218, allocations: 0 / 0.6611 GB, free: 65.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=190): time 0.01381/1.232, allocations: 7.442 MB / 0.6684 GB, free: 64.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/1.232, allocations: 181.5 kB / 0.6685 GB, free: 64.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003669/1.236, allocations: 2.252 MB / 0.6707 GB, free: 63.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002187/1.236, allocations: 56.8 kB / 0.6708 GB, free: 63.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/1.238, allocations: 1.722 MB / 0.6725 GB, free: 63.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005186/1.238, allocations: 0.6417 MB / 0.6731 GB, free: 63.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/1.238, allocations: 44.12 kB / 0.6732 GB, free: 63.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/1.238, allocations: 401.7 kB / 0.6735 GB, free: 62.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/1.24, allocations: 0.9025 MB / 0.6744 GB, free: 62.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/1.241, allocations: 1.56 MB / 0.6759 GB, free: 61.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002989/1.244, allocations: 2.549 MB / 0.6784 GB, free: 61.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/1.244, allocations: 7.688 kB / 0.6784 GB, free: 61.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.005007/1.249, allocations: 3.202 MB / 0.6816 GB, free: 60.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003484/1.25, allocations: 0.6477 MB / 0.6822 GB, free: 60.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.079e-05/1.25, allocations: 28.77 kB / 0.6822 GB, free: 60.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/1.251, allocations: 0.4923 MB / 0.6827 GB, free: 60.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/1.253, allocations: 0.4946 MB / 0.6832 GB, free: 60.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006935/1.26, allocations: 8.345 MB / 0.6913 GB, free: 54.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/1.262, allocations: 101.4 kB / 0.6914 GB, free: 54.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/1.263, allocations: 105.5 kB / 0.6915 GB, free: 54.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.687e-06/1.263, allocations: 2.938 kB / 0.6915 GB, free: 54.75 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004243/1.267, allocations: 2.925 MB / 0.6944 GB, free: 54.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.962e-05/1.267, allocations: 26.5 kB / 0.6944 GB, free: 54.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/1.268, allocations: 0.4921 MB / 0.6949 GB, free: 54.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/1.27, allocations: 499.3 kB / 0.6954 GB, free: 54.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006482/1.276, allocations: 8.353 MB / 0.7035 GB, free: 49.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/1.279, allocations: 98.64 kB / 0.7036 GB, free: 49.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/1.279, allocations: 95.61 kB / 0.7037 GB, free: 49.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 7 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 258 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002804/1.282, allocations: 1.2 MB / 0.7049 GB, free: 48.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006721/1.283, allocations: 261.3 kB / 0.7051 GB, free: 48.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004715/1.287, allocations: 2.959 MB / 0.708 GB, free: 48.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/1.287, allocations: 20.91 kB / 0.708 GB, free: 48.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.287, allocations: 3.906 kB / 0.7081 GB, free: 48.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/1.287, allocations: 10.88 kB / 0.7081 GB, free: 48.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00985/1.297, allocations: 6.297 MB / 0.7142 GB, free: 46.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.297, allocations: 0 / 0.7142 GB, free: 46.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/1.298, allocations: 273.7 kB / 0.7145 GB, free: 46.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/1.3, allocations: 0.6788 MB / 0.7151 GB, free: 46.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/1.3, allocations: 48.3 kB / 0.7152 GB, free: 46.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/1.31, allocations: 12.87 MB / 0.7277 GB, free: 35.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.31, allocations: 4.969 kB / 0.7278 GB, free: 35.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00587/1.316, allocations: 4.162 MB / 0.7318 GB, free: 33.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/1.317, allocations: 0.5359 MB / 0.7323 GB, free: 33.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000292/1.318, allocations: 38.97 kB / 0.7324 GB, free: 33.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.319, allocations: 92.83 kB / 0.7325 GB, free: 33.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003578/1.319, allocations: 151 kB / 0.7326 GB, free: 33.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.57e-05/1.319, allocations: 52.27 kB / 0.7327 GB, free: 33.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002215/1.321, allocations: 1.525 MB / 0.7341 GB, free: 32.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.321, allocations: 0 / 0.7341 GB, free: 32.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004978/1.326, allocations: 1.369 MB / 0.7355 GB, free: 32.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007903/1.327, allocations: 453.6 kB / 0.7359 GB, free: 32.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006325/1.334, allocations: 5.009 MB / 0.7408 GB, free: 29.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.334, allocations: 0 / 0.7408 GB, free: 29.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002528/1.336, allocations: 2.06 MB / 0.7428 GB, free: 28.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003974/1.34, allocations: 0.6788 MB / 0.7435 GB, free: 28.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.352, allocations: 8.524 MB / 0.7518 GB, free: 23.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/1.354, allocations: 2.579 MB / 0.7543 GB, free: 22.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002828/1.357, allocations: 0.632 MB / 0.7549 GB, free: 22.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/1.358, allocations: 161.5 kB / 0.7551 GB, free: 22.42 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/1.358, allocations: 0 / 0.7551 GB, free: 22.42 MB / 426.7 MB Notification: Performance of Templates: time 0.07281/1.43, allocations: 46.79 MB / 0.8008 GB, free: 11.93 MB / 442.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)