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/ModelicaServices 4.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009293/0.0009293, allocations: 87.98 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009611/0.0009611, allocations: 184.5 kB / 291.3 MB, free: 2.047 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03574/0.03574, allocations: 8.805 MB / 351.2 MB, free: 4.578 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 12.55 kB / 414.5 MB, free: 42.72 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06568/0.06603, allocations: 52.56 MB / 467 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Rectifier): time 0.01497/0.08104, allocations: 16.27 MB / 483.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.0937, allocations: 8.435 MB / 491.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.0952, allocations: 95.62 kB / 491.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.09742, allocations: 1.104 MB / 492.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003039/0.1005, allocations: 1.494 MB / 494.4 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004425/0.1049, allocations: 2.094 MB / 496.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005126/0.11, allocations: 5.462 MB / 0.4902 GB, free: 10.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00315/0.1132, allocations: 2.84 MB / 0.493 GB, free: 7.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.1149, allocations: 1.61 MB / 0.4946 GB, free: 5.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.1169, allocations: 2.041 MB / 0.4966 GB, free: 3.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000354/0.1173, allocations: 244 kB / 0.4968 GB, free: 3.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.1184, allocations: 0.5854 MB / 0.4974 GB, free: 2.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006989/0.1191, allocations: 0.9025 MB / 0.4982 GB, free: 1.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.1208, allocations: 2.12 MB / 0.5003 GB, free: 15.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004695/0.1255, allocations: 6.412 MB / 0.5066 GB, free: 9.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1255, allocations: 0 / 0.5066 GB, free: 9.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1255, allocations: 0 / 0.5066 GB, free: 9.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.873e-05/0.1256, allocations: 0 / 0.5066 GB, free: 9.164 MB / 350.1 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.009669/0.1353, allocations: 4.465 MB / 0.5109 GB, free: 4.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1353, allocations: 12.03 kB / 0.5109 GB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005119/0.1405, allocations: 1.003 MB / 0.5119 GB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004359/0.1448, allocations: 2.777 MB / 0.5146 GB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/0.145, allocations: 287.7 kB / 0.5149 GB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005455/0.1456, allocations: 387.8 kB / 0.5153 GB, free: 124 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007674/0.1533, allocations: 4.908 MB / 0.5201 GB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.913e-05/0.1534, allocations: 7.891 kB / 0.5201 GB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003532/0.1537, allocations: 160 kB / 0.5202 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001494/0.1539, allocations: 167.4 kB / 0.5204 GB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00684/0.1607, allocations: 4.203 MB / 0.5245 GB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1737/0.3344, allocations: 16.61 MB / 0.5407 GB, free: 56.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00662/0.3411, allocations: 8.185 MB / 0.5487 GB, free: 50.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002693/0.3438, allocations: 1.859 MB / 0.5505 GB, free: 50.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007574/0.3514, allocations: 5.471 MB / 0.5559 GB, free: 48.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3514, allocations: 57.56 kB / 0.5559 GB, free: 48.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=187): time 4.007e-06/0.3514, allocations: 4 kB / 0.5559 GB, free: 48.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=190): time 0.01228/0.3637, allocations: 7.5 MB / 0.5633 GB, free: 43.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.3638, allocations: 176 kB / 0.5634 GB, free: 43.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.3663, allocations: 2.318 MB / 0.5657 GB, free: 42.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.3665, allocations: 61.61 kB / 0.5657 GB, free: 42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007628/0.3672, allocations: 1.707 MB / 0.5674 GB, free: 40.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.3675, allocations: 0.6499 MB / 0.5681 GB, free: 39.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.3678, allocations: 187.9 kB / 0.5682 GB, free: 39.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.137e-05/0.3678, allocations: 309.1 kB / 0.5685 GB, free: 39.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.3691, allocations: 0.9207 MB / 0.5694 GB, free: 39.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.3706, allocations: 1.585 MB / 0.571 GB, free: 37.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/0.3734, allocations: 2.588 MB / 0.5735 GB, free: 35.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.527e-06/0.3734, allocations: 3.469 kB / 0.5735 GB, free: 35.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.004138/0.3775, allocations: 3.244 MB / 0.5767 GB, free: 34.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.3777, allocations: 0.6624 MB / 0.5773 GB, free: 33.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/0.3778, allocations: 21.25 kB / 0.5773 GB, free: 33.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009746/0.3787, allocations: 0.4929 MB / 0.5778 GB, free: 32.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.3805, allocations: 0.4915 MB / 0.5783 GB, free: 32.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005897/0.3864, allocations: 8.373 MB / 0.5865 GB, free: 23.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.3878, allocations: 99.92 kB / 0.5866 GB, free: 23.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.388, allocations: 96 kB / 0.5867 GB, free: 23.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.272e-06/0.388, allocations: 4 kB / 0.5867 GB, free: 23.2 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003746/0.3917, allocations: 2.966 MB / 0.5896 GB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.3918, allocations: 20 kB / 0.5896 GB, free: 20.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009087/0.3927, allocations: 0.5003 MB / 0.5901 GB, free: 19.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.3944, allocations: 497.8 kB / 0.5905 GB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/0.4002, allocations: 8.352 MB / 0.5987 GB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.4016, allocations: 87.95 kB / 0.5988 GB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.4017, allocations: 99.98 kB / 0.5989 GB, free: 10.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 7 (rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].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 (266): * Single equations (assignments): 259 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001587/0.4033, allocations: 1.204 MB / 0.6001 GB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.4036, allocations: 268.8 kB / 0.6003 GB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004402/0.408, allocations: 2.979 MB / 0.6032 GB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.4081, allocations: 20 kB / 0.6032 GB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.4081, allocations: 7.938 kB / 0.6032 GB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.4081, allocations: 7.969 kB / 0.6033 GB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008095/0.4162, allocations: 6.347 MB / 0.6095 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.4162, allocations: 4.031 kB / 0.6095 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.4175, allocations: 267.7 kB / 0.6097 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.4191, allocations: 0.6841 MB / 0.6104 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.4192, allocations: 39.98 kB / 0.6104 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/0.4316, allocations: 12.95 MB / 0.6231 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.4316, allocations: 7.875 kB / 0.6231 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006216/0.4378, allocations: 4.181 MB / 0.6272 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000879/0.4387, allocations: 0.5407 MB / 0.6277 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/0.439, allocations: 43.94 kB / 0.6277 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.4402, allocations: 91.94 kB / 0.6278 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/0.4405, allocations: 141.8 kB / 0.6279 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.4407, allocations: 48 kB / 0.628 GB, free: 11.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002207/0.4429, allocations: 1.578 MB / 0.6295 GB, free: 9.602 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4429, allocations: 0 / 0.6295 GB, free: 9.602 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003787/0.4467, allocations: 1.318 MB / 0.6308 GB, free: 8.289 MB / 398.1 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.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004115/0.4471, allocations: 225.8 kB / 0.631 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006804/0.4539, allocations: 5.05 MB / 0.636 GB, free: 2.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.4539, allocations: 9.047 kB / 0.636 GB, free: 2.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002715/0.4567, allocations: 2.061 MB / 0.638 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/0.4603, allocations: 0.6843 MB / 0.6387 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.472, allocations: 8.924 MB / 0.6474 GB, free: 7.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002156/0.4742, allocations: 2.529 MB / 0.6498 GB, free: 4.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/0.4747, allocations: 175.4 kB / 0.65 GB, free: 4.379 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4747, allocations: 0 / 0.65 GB, free: 4.379 MB / 414.1 MB Notification: Performance of Templates: time 0.2718/0.7465, allocations: 153.2 MB / 0.7996 GB, free: 62.87 MB / 462.1 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)