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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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 4.0.0+maint.om/package.mo): time 0.005116/0.005116, allocations: 173.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03753/0.03753, allocations: 8.799 MB / 24.65 MB, free: 4.117 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 223.2 MB / 250.7 MB, free: 6.543 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008226/0.0008225, allocations: 102 kB / 304 MB, free: 4.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 8 kB / 367.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2415, allocations: 52.54 MB / 419.6 MB, free: 48.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.3864, allocations: 133.8 MB / 0.5405 GB, free: 3.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.3867, allocations: 79.97 kB / 0.5405 GB, free: 3.102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3644/0.7511, allocations: 98.25 MB / 0.6365 GB, free: 70.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.7511, allocations: 0 / 0.6365 GB, free: 70.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002289/0.7513, allocations: 99.81 kB / 0.6366 GB, free: 70.5 MB / 426.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.009576/0.7609, allocations: 4.285 MB / 0.6408 GB, free: 66.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.761, allocations: 8.562 kB / 0.6408 GB, free: 66.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004905/0.7659, allocations: 0.9315 MB / 0.6417 GB, free: 65.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008472/0.7744, allocations: 3.744 MB / 0.6453 GB, free: 61.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.7746, allocations: 283.5 kB / 0.6456 GB, free: 61.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007616/0.7754, allocations: 371.9 kB / 0.646 GB, free: 60.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007174/0.7825, allocations: 4.822 MB / 0.6507 GB, free: 55.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.962e-05/0.7827, allocations: 7.938 kB / 0.6507 GB, free: 55.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003589/0.783, allocations: 160 kB / 0.6508 GB, free: 55.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/0.7832, allocations: 171.4 kB / 0.651 GB, free: 55.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006322/0.7895, allocations: 3.984 MB / 0.6549 GB, free: 51.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02696/0.8165, allocations: 16.56 MB / 0.671 GB, free: 34.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00856/0.8251, allocations: 8.201 MB / 0.6791 GB, free: 25.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009853/0.835, allocations: 4.551 MB / 0.6835 GB, free: 20.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.8351, allocations: 56.5 kB / 0.6836 GB, free: 20.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=197): time 4.769e-06/0.8351, allocations: 0 / 0.6836 GB, free: 20.64 MB / 426.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : (-smee.is[1]) - smee.is[3] - smee.is[2] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smee.is[1] ; smee.is[2] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; smee.is[3] ] might be structurally or numerically singular for variable smee.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=230): time 0.02391/0.859, allocations: 9.387 MB / 0.6927 GB, free: 11.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.8591, allocations: 184.2 kB / 0.6929 GB, free: 10.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/0.8629, allocations: 1.973 MB / 0.6948 GB, free: 8.836 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002137/0.8631, allocations: 65.7 kB / 0.6949 GB, free: 8.766 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.8643, allocations: 1.703 MB / 0.6965 GB, free: 7.039 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006257/0.865, allocations: 0.7701 MB / 0.6973 GB, free: 6.258 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.8652, allocations: 56 kB / 0.6974 GB, free: 6.203 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.8653, allocations: 403.3 kB / 0.6977 GB, free: 5.805 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/0.8676, allocations: 1.067 MB / 0.6988 GB, free: 4.734 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/0.8702, allocations: 1.708 MB / 0.7004 GB, free: 2.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/0.8728, allocations: 1.341 MB / 0.7018 GB, free: 1.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.8728, allocations: 4 kB / 0.7018 GB, free: 1.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.007812/0.8807, allocations: 3.821 MB / 0.7055 GB, free: 13.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002514/0.8832, allocations: 7.482 MB / 0.7128 GB, free: 5.309 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/0.8832, allocations: 20 kB / 0.7128 GB, free: 5.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/0.8851, allocations: 0.8278 MB / 0.7136 GB, free: 4.445 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.887, allocations: 0.4993 MB / 0.7141 GB, free: 3.945 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.8996, allocations: 11.61 MB / 0.7255 GB, free: 7.801 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.9016, allocations: 112.5 kB / 0.7256 GB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.9018, allocations: 100 kB / 0.7257 GB, free: 7.594 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.9018, allocations: 4 kB / 0.7257 GB, free: 7.59 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005763/0.9076, allocations: 3.545 MB / 0.7291 GB, free: 4.027 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/0.9076, allocations: 20.44 kB / 0.7291 GB, free: 4.008 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001885/0.9095, allocations: 0.8277 MB / 0.73 GB, free: 3.164 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.9115, allocations: 0.4993 MB / 0.7304 GB, free: 2.664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1827/1.094, allocations: 11.6 MB / 0.7418 GB, free: 92.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/1.096, allocations: 103.7 kB / 0.7419 GB, free: 92.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/1.096, allocations: 102.2 kB / 0.742 GB, free: 92.64 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (270): * Single equations (assignments): 263 * 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 {(5,80.0%) 32} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.00183/1.098, allocations: 1.219 MB / 0.7432 GB, free: 92.46 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/1.099, allocations: 279.1 kB / 0.7434 GB, free: 92.46 MB / 458.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : (-smee.is[1]) - smee.is[3] - smee.is[2] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smee.is[1] ; smee.is[2] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; smee.is[3] ] might be structurally or numerically singular for variable smee.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/1.103, allocations: 3.419 MB / 0.7468 GB, free: 92.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/1.103, allocations: 24.56 kB / 0.7468 GB, free: 92.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/1.103, allocations: 7.312 kB / 0.7468 GB, free: 92.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/1.103, allocations: 13.88 kB / 0.7468 GB, free: 92.1 MB / 458.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : (-smee.is[1]) - smee.is[3] - smee.is[2] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smee.is[2] ; smee.is[1] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; smee.is[3] ] might be structurally or numerically singular for variable smee.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009048/1.112, allocations: 7.246 MB / 0.7539 GB, free: 91.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/1.112, allocations: 2.094 kB / 0.7539 GB, free: 91.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/1.114, allocations: 338.2 kB / 0.7542 GB, free: 91.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/1.115, allocations: 0.8518 MB / 0.755 GB, free: 91.33 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/1.115, allocations: 57.38 kB / 0.7551 GB, free: 91.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/1.126, allocations: 14.46 MB / 0.7692 GB, free: 83.19 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.126, allocations: 11.58 kB / 0.7692 GB, free: 83.19 MB / 458.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : (-smee.is[1]) - smee.is[3] - smee.is[2] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smee.is[2] ; smee.is[1] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; smee.is[3] ] might be structurally or numerically singular for variable smee.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0062/1.132, allocations: 5.079 MB / 0.7742 GB, free: 82.24 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.134, allocations: 0.5917 MB / 0.7748 GB, free: 81.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/1.134, allocations: 50.67 kB / 0.7748 GB, free: 81.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.135, allocations: 101.8 kB / 0.7749 GB, free: 81.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003195/1.135, allocations: 165.7 kB / 0.7751 GB, free: 81.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/1.136, allocations: 61.3 kB / 0.7751 GB, free: 81.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002047/1.138, allocations: 1.512 MB / 0.7766 GB, free: 81.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.138, allocations: 0 / 0.7766 GB, free: 81.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004144/1.142, allocations: 1.482 MB / 0.778 GB, free: 81.03 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.is[3],smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.zeroInductor.i0,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,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 (169): * Single equations (assignments): 164 * 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: 2 {(7,53.1%) 30,(1,100.0%) 1} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007143/1.143, allocations: 468.6 kB / 0.7785 GB, free: 80.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007103/1.15, allocations: 6.153 MB / 0.7845 GB, free: 77.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.15, allocations: 0 / 0.7845 GB, free: 77.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002651/1.152, allocations: 2.282 MB / 0.7867 GB, free: 76.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/1.155, allocations: 0.6717 MB / 0.7874 GB, free: 76.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/1.165, allocations: 8.954 MB / 0.7961 GB, free: 71.61 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/1.167, allocations: 2.714 MB / 0.7988 GB, free: 70.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002298/1.169, allocations: 0.6547 MB / 0.7994 GB, free: 70.42 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004078/1.17, allocations: 172 kB / 0.7996 GB, free: 70.41 MB / 458.7 MB Notification: Performance of SimCode: time 1.272e-06/1.17, allocations: 0 / 0.7996 GB, free: 70.41 MB / 458.7 MB Notification: Performance of Templates: time 0.06359/1.233, allocations: 51.94 MB / 0.8503 GB, free: 40.37 MB / 458.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)