Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 198.8 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000889/0.0008889, allocations: 107.1 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002393/0.0002393, allocations: 7.984 kB / 358 MB, free: 9.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2266, allocations: 51.48 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3321/0.5587, allocations: 127 MB / 0.524 GB, free: 88.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.559, allocations: 91.75 kB / 0.524 GB, free: 88.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1282/0.6872, allocations: 55.68 MB / 0.5784 GB, free: 32.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6873, allocations: 0 / 0.5784 GB, free: 32.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002546/0.6875, allocations: 71.92 kB / 0.5785 GB, free: 32.8 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: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.007541/0.6951, allocations: 2.969 MB / 0.5814 GB, free: 29.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.6951, allocations: 8.031 kB / 0.5814 GB, free: 29.76 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001075/0.6962, allocations: 349.7 kB / 0.5817 GB, free: 29.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.6981, allocations: 432 kB / 0.5821 GB, free: 28.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004163/0.7022, allocations: 1.758 MB / 0.5839 GB, free: 27.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.7024, allocations: 180.8 kB / 0.584 GB, free: 26.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006822/0.7031, allocations: 239.9 kB / 0.5843 GB, free: 26.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006334/0.7094, allocations: 3.024 MB / 0.5872 GB, free: 23.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/0.7096, allocations: 11.91 kB / 0.5872 GB, free: 23.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004433/0.71, allocations: 100 kB / 0.5873 GB, free: 23.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.423e-05/0.7101, allocations: 96.59 kB / 0.5874 GB, free: 23.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004776/0.7149, allocations: 2.438 MB / 0.5898 GB, free: 20.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0182/0.7332, allocations: 10.3 MB / 0.5998 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/0.7364, allocations: 2.772 MB / 0.6026 GB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003712/0.7368, allocations: 138.3 kB / 0.6027 GB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.952e-05/0.7369, allocations: 51.88 kB / 0.6027 GB, free: 7.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 5.249e-06/0.7369, allocations: 0 / 0.6027 GB, free: 7.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.01991/0.7568, allocations: 9.11 MB / 0.6116 GB, free: 13.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.843e-05/0.757, allocations: 176.2 kB / 0.6118 GB, free: 13.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00371/0.7607, allocations: 1.634 MB / 0.6134 GB, free: 11.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001958/0.7609, allocations: 53.7 kB / 0.6134 GB, free: 11.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.762, allocations: 1.161 MB / 0.6146 GB, free: 10.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006524/0.7626, allocations: 0.5892 MB / 0.6152 GB, free: 10.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.7628, allocations: 36 kB / 0.6152 GB, free: 10.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.763, allocations: 389.8 kB / 0.6156 GB, free: 9.727 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.7646, allocations: 0.9174 MB / 0.6165 GB, free: 8.809 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.7665, allocations: 1.361 MB / 0.6178 GB, free: 7.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.7684, allocations: 1.107 MB / 0.6189 GB, free: 6.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.7685, allocations: 4 kB / 0.6189 GB, free: 6.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.006307/0.7748, allocations: 3.323 MB / 0.6221 GB, free: 2.816 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001982/0.7768, allocations: 4.891 MB / 0.6269 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.467e-05/0.7769, allocations: 16 kB / 0.6269 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002739/0.7796, allocations: 0.9603 MB / 0.6278 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.7813, allocations: 375.4 kB / 0.6282 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/0.7961, allocations: 12.32 MB / 0.6402 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.7983, allocations: 119.9 kB / 0.6404 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003878/0.7987, allocations: 76.08 kB / 0.6404 GB, free: 15.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.7987, allocations: 7.938 kB / 0.6404 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005291/0.804, allocations: 3.084 MB / 0.6434 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.214e-05/0.8041, allocations: 16.36 kB / 0.6435 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/0.8063, allocations: 0.9689 MB / 0.6444 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.8077, allocations: 363.4 kB / 0.6448 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/0.8215, allocations: 12.32 MB / 0.6568 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.8234, allocations: 104 kB / 0.6569 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002917/0.8238, allocations: 80.61 kB / 0.657 GB, free: 13.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.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 (192): * Single equations (assignments): 185 * 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 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001812/0.8256, allocations: 0.8033 MB / 0.6577 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006442/0.8262, allocations: 225.3 kB / 0.658 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00518/0.8314, allocations: 2.98 MB / 0.6609 GB, free: 9.566 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.8315, allocations: 16 kB / 0.6609 GB, free: 9.551 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/0.8315, allocations: 7.984 kB / 0.6609 GB, free: 9.543 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/0.8315, allocations: 11.92 kB / 0.6609 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.8427, allocations: 5.909 MB / 0.6667 GB, free: 3.516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.8428, allocations: 4 kB / 0.6667 GB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000977/0.8437, allocations: 220 kB / 0.6669 GB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002612/0.8464, allocations: 1.042 MB / 0.6679 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.8465, allocations: 39.98 kB / 0.6679 GB, free: 2.199 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.219/1.066, allocations: 14.06 MB / 0.6817 GB, free: 94.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.066, allocations: 3 kB / 0.6817 GB, free: 94.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006014/1.072, allocations: 4.473 MB / 0.686 GB, free: 93.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/1.073, allocations: 498.2 kB / 0.6865 GB, free: 93.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/1.073, allocations: 44.95 kB / 0.6866 GB, free: 93.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/1.074, allocations: 101.7 kB / 0.6867 GB, free: 93.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/1.075, allocations: 142.8 kB / 0.6868 GB, free: 93.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.075, allocations: 49.05 kB / 0.6868 GB, free: 93.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001632/1.076, allocations: 1.257 MB / 0.6881 GB, free: 93.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.1e-07/1.076, allocations: 0 / 0.6881 GB, free: 93.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003358/1.08, allocations: 1.196 MB / 0.6892 GB, free: 93.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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 {(6,72.2%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006665/1.086, allocations: 5.83 MB / 0.6949 GB, free: 92.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007218/1.094, allocations: 5.481 MB / 0.7003 GB, free: 90.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.094, allocations: 3.906 kB / 0.7003 GB, free: 90.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002885/1.097, allocations: 2.139 MB / 0.7024 GB, free: 90.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/1.099, allocations: 0.5364 MB / 0.7029 GB, free: 89.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/1.111, allocations: 16.2 MB / 0.7187 GB, free: 77.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/1.113, allocations: 2.045 MB / 0.7207 GB, free: 76.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001634/1.114, allocations: 0.4935 MB / 0.7212 GB, free: 76.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.115, allocations: 0.9814 MB / 0.7221 GB, free: 75.61 MB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/1.115, allocations: 0 / 0.7221 GB, free: 75.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/1.227, allocations: 66.06 MB / 0.7867 GB, free: 33.84 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/1.227, allocations: 230.7 kB / 0.7869 GB, free: 33.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.759/4.986, allocations: 3.375 kB / 0.7869 GB, free: 33.61 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)