Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008672/0.0008672, allocations: 79.56 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.548e-05/1.55e-05, allocations: 4 kB / 337.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0883/0.08833, allocations: 50.42 MB / 387.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3486/0.437, allocations: 125.5 MB / 0.501 GB, free: 1.117 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.4373, allocations: 83.95 kB / 0.5011 GB, free: 1.035 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3654/0.8027, allocations: 54.92 MB / 0.5547 GB, free: 100.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.8027, allocations: 0 / 0.5547 GB, free: 100.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002756/0.803, allocations: 72.22 kB / 0.5548 GB, free: 100.6 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: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.007434/0.8105, allocations: 2.596 MB / 0.5574 GB, free: 99.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.8105, allocations: 9.906 kB / 0.5574 GB, free: 99.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.8129, allocations: 429.8 kB / 0.5578 GB, free: 99.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/0.8174, allocations: 1.729 MB / 0.5595 GB, free: 99.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.928e-05/0.8175, allocations: 76.91 kB / 0.5595 GB, free: 99.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000427/0.8179, allocations: 147.8 kB / 0.5597 GB, free: 99.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004263/0.8222, allocations: 2.226 MB / 0.5618 GB, free: 99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004564/0.8268, allocations: 2.619 MB / 0.5644 GB, free: 98.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.95e-05/0.8269, allocations: 9.375 kB / 0.5644 GB, free: 98.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/0.8271, allocations: 2.906 kB / 0.5644 GB, free: 98.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.8272, allocations: 98.8 kB / 0.5645 GB, free: 98.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01468/0.8419, allocations: 9.839 MB / 0.5741 GB, free: 95.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.8443, allocations: 2.637 MB / 0.5767 GB, free: 94.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.8456, allocations: 1.091 MB / 0.5778 GB, free: 94.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.8459, allocations: 138.1 kB / 0.5779 GB, free: 94.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.8459, allocations: 51.69 kB / 0.5779 GB, free: 94.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=152): time 3.878e-06/0.8459, allocations: 1.031 kB / 0.5779 GB, free: 94.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=175): time 0.009405/0.8553, allocations: 5.777 MB / 0.5836 GB, free: 92.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.8554, allocations: 174.9 kB / 0.5838 GB, free: 91.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.8572, allocations: 1.322 MB / 0.585 GB, free: 91.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.8574, allocations: 29.5 kB / 0.5851 GB, free: 91.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006404/0.858, allocations: 1.165 MB / 0.5862 GB, free: 90.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/0.8583, allocations: 0.5631 MB / 0.5868 GB, free: 89.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.25e-05/0.8584, allocations: 0 / 0.5868 GB, free: 89.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.8586, allocations: 384.4 kB / 0.5871 GB, free: 89.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.8596, allocations: 0.8486 MB / 0.588 GB, free: 89.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.8608, allocations: 1.281 MB / 0.5892 GB, free: 88.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.8621, allocations: 1.048 MB / 0.5902 GB, free: 88.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.8621, allocations: 3.875 kB / 0.5902 GB, free: 88.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004588/0.8667, allocations: 3.039 MB / 0.5932 GB, free: 87.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007603/0.8675, allocations: 4.838 MB / 0.5979 GB, free: 81.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/0.8675, allocations: 15.75 kB / 0.5979 GB, free: 81.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/0.8697, allocations: 0.9497 MB / 0.5989 GB, free: 81.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.8711, allocations: 375.2 kB / 0.5992 GB, free: 81.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.8814, allocations: 11.56 MB / 0.6105 GB, free: 73.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/0.8832, allocations: 69.95 kB / 0.6106 GB, free: 73.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.8834, allocations: 80.7 kB / 0.6107 GB, free: 73.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/0.8834, allocations: 6.219 kB / 0.6107 GB, free: 73.64 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003944/0.8873, allocations: 2.803 MB / 0.6134 GB, free: 72.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.8874, allocations: 16.83 kB / 0.6134 GB, free: 72.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.8893, allocations: 0.9424 MB / 0.6143 GB, free: 72.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.8905, allocations: 367.3 kB / 0.6147 GB, free: 72.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.9007, allocations: 11.55 MB / 0.626 GB, free: 64.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.9025, allocations: 59.73 kB / 0.626 GB, free: 64.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.9027, allocations: 77.64 kB / 0.6261 GB, free: 64.53 MB / 426.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 () * 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.0004191/0.9031, allocations: 156 kB / 0.6262 GB, free: 64.39 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003889/0.907, allocations: 2.604 MB / 0.6288 GB, free: 63.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000433/0.9074, allocations: 198.8 kB / 0.629 GB, free: 63.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004187/0.9116, allocations: 2.751 MB / 0.6317 GB, free: 62.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.9117, allocations: 21.62 kB / 0.6317 GB, free: 62.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.9117, allocations: 6.469 kB / 0.6317 GB, free: 62.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.9117, allocations: 9.328 kB / 0.6317 GB, free: 62.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008858/0.9206, allocations: 5.39 MB / 0.637 GB, free: 57.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.9206, allocations: 4 kB / 0.637 GB, free: 57.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009329/0.9216, allocations: 228.5 kB / 0.6372 GB, free: 57.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002269/0.9239, allocations: 1.008 MB / 0.6382 GB, free: 56.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.924, allocations: 23.05 kB / 0.6382 GB, free: 56.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/0.936, allocations: 13.21 MB / 0.6511 GB, free: 44.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.936, allocations: 7.125 kB / 0.6511 GB, free: 44.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006695/0.9427, allocations: 4.218 MB / 0.6552 GB, free: 40.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/0.9444, allocations: 471.6 kB / 0.6557 GB, free: 40.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007002/0.9451, allocations: 15.75 kB / 0.6557 GB, free: 40.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/0.9467, allocations: 74.72 kB / 0.6558 GB, free: 40.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003767/0.9471, allocations: 137.3 kB / 0.6559 GB, free: 40.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.9473, allocations: 47.86 kB / 0.6559 GB, free: 40 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001916/0.9492, allocations: 0.9994 MB / 0.6569 GB, free: 39.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.9492, allocations: 0 / 0.6569 GB, free: 39.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005121/0.9544, allocations: 1.035 MB / 0.6579 GB, free: 38.07 MB / 426.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 () * 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.00651/0.9609, allocations: 5.566 MB / 0.6634 GB, free: 33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007611/0.9685, allocations: 5.182 MB / 0.6684 GB, free: 28.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.9686, allocations: 4 kB / 0.6684 GB, free: 28.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002845/0.9714, allocations: 2.005 MB / 0.6704 GB, free: 26.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/0.9743, allocations: 431.3 kB / 0.6708 GB, free: 25.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.9862, allocations: 5.192 MB / 0.6759 GB, free: 21.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/0.988, allocations: 2.045 MB / 0.6779 GB, free: 19.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00247/0.9905, allocations: 0.6395 MB / 0.6785 GB, free: 19.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/0.9917, allocations: 0.9749 MB / 0.6794 GB, free: 18.52 MB / 426.7 MB Notification: Performance of SimCode: time 2.164e-06/0.9917, allocations: 0 / 0.6794 GB, free: 18.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3205/1.312, allocations: 59.85 MB / 0.7379 GB, free: 101.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/1.312, allocations: 165.6 kB / 0.738 GB, free: 101.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.034/5.347, allocations: 0 / 0.738 GB, free: 101.1 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)