Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_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.001272/0.001273, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 221.3 MB / 235.5 MB, free: 2.957 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.0008467/0.0008467, allocations: 89.16 kB / 286.5 MB, free: 256 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.101e-05, allocations: 0 / 343.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 50.42 MB / 394.4 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.557, allocations: 132.5 MB / 0.5145 GB, free: 2.887 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.5574, allocations: 93.59 kB / 0.5146 GB, free: 2.797 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4883/1.046, allocations: 96.15 MB / 0.6085 GB, free: 92.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.372e-06/1.046, allocations: 4 kB / 0.6085 GB, free: 92.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003572/1.046, allocations: 102 kB / 0.6086 GB, free: 92.63 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: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.0116/1.058, allocations: 3.742 MB / 0.6122 GB, free: 90.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.058, allocations: 10.12 kB / 0.6122 GB, free: 90.21 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002118/1.06, allocations: 0.5015 MB / 0.6127 GB, free: 89.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006437/1.066, allocations: 0.9139 MB / 0.6136 GB, free: 89.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/1.078, allocations: 3.608 MB / 0.6172 GB, free: 87.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003343/1.078, allocations: 276.9 kB / 0.6174 GB, free: 86.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001448/1.08, allocations: 371.3 kB / 0.6178 GB, free: 86.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/1.092, allocations: 4.564 MB / 0.6222 GB, free: 82.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001801/1.093, allocations: 0 / 0.6222 GB, free: 82.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001201/1.094, allocations: 163.4 kB / 0.6224 GB, free: 82.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001621/1.094, allocations: 155.2 kB / 0.6225 GB, free: 82.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009358/1.103, allocations: 3.719 MB / 0.6262 GB, free: 78.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03177/1.135, allocations: 16.01 MB / 0.6418 GB, free: 62.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00726/1.142, allocations: 7.789 MB / 0.6494 GB, free: 53.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002949/1.145, allocations: 1.722 MB / 0.6511 GB, free: 51.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00951/1.155, allocations: 5.06 MB / 0.656 GB, free: 46.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/1.155, allocations: 56.56 kB / 0.6561 GB, free: 46.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=174): time 4.278e-06/1.155, allocations: 0 / 0.6561 GB, free: 46.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=177): time 0.009428/1.165, allocations: 5.09 MB / 0.661 GB, free: 41.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/1.165, allocations: 180.2 kB / 0.6612 GB, free: 41.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/1.168, allocations: 1.916 MB / 0.6631 GB, free: 39.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003207/1.169, allocations: 57.7 kB / 0.6631 GB, free: 39.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001126/1.17, allocations: 1.688 MB / 0.6648 GB, free: 37.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006101/1.171, allocations: 0.5971 MB / 0.6654 GB, free: 36.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/1.171, allocations: 48 kB / 0.6654 GB, free: 36.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/1.171, allocations: 390.4 kB / 0.6658 GB, free: 36.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/1.172, allocations: 0.8088 MB / 0.6666 GB, free: 35.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/1.174, allocations: 1.446 MB / 0.668 GB, free: 33.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/1.175, allocations: 1.056 MB / 0.669 GB, free: 32.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/1.175, allocations: 7.938 kB / 0.669 GB, free: 32.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004663/1.18, allocations: 2.98 MB / 0.6719 GB, free: 29.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001492/1.181, allocations: 7.828 MB / 0.6796 GB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.734e-05/1.181, allocations: 20 kB / 0.6796 GB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/1.182, allocations: 471.8 kB / 0.6801 GB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/1.184, allocations: 479.2 kB / 0.6805 GB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006021/1.19, allocations: 8.04 MB / 0.6884 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/1.192, allocations: 95.84 kB / 0.6885 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000368/1.193, allocations: 100.1 kB / 0.6886 GB, free: 11.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.193, allocations: 5.406 kB / 0.6886 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004742/1.198, allocations: 2.727 MB / 0.6912 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.067e-05/1.198, allocations: 20 kB / 0.6912 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009121/1.199, allocations: 472.3 kB / 0.6917 GB, free: 8.102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/1.2, allocations: 467.3 kB / 0.6921 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006184/1.207, allocations: 8.058 MB / 0.7 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/1.209, allocations: 95.86 kB / 0.7001 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000462/1.209, allocations: 88 kB / 0.7002 GB, free: 14.88 MB / 442.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 (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 (252): * Single equations (assignments): 245 * 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.0008209/1.21, allocations: 252.3 kB / 0.7004 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008714/1.211, allocations: 252.9 kB / 0.7007 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00578/1.217, allocations: 2.729 MB / 0.7033 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/1.217, allocations: 20 kB / 0.7034 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/1.217, allocations: 4 kB / 0.7034 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/1.217, allocations: 7.969 kB / 0.7034 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/1.23, allocations: 5.878 MB / 0.7091 GB, free: 5.551 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.23, allocations: 416 / 0.7091 GB, free: 5.551 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/1.231, allocations: 256.1 kB / 0.7093 GB, free: 5.301 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/1.233, allocations: 0.6411 MB / 0.71 GB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/1.233, allocations: 39.98 kB / 0.71 GB, free: 4.602 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2844/1.518, allocations: 12.53 MB / 0.7222 GB, free: 91.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.341e-06/1.518, allocations: 1.906 kB / 0.7222 GB, free: 91.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007028/1.525, allocations: 3.922 MB / 0.7261 GB, free: 90.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/1.527, allocations: 0.5032 MB / 0.7266 GB, free: 90.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006048/1.527, allocations: 45.52 kB / 0.7266 GB, free: 90.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/1.528, allocations: 88.22 kB / 0.7267 GB, free: 90.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003852/1.529, allocations: 142.1 kB / 0.7268 GB, free: 90.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/1.529, allocations: 46.78 kB / 0.7269 GB, free: 90.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002791/1.532, allocations: 1.453 MB / 0.7283 GB, free: 90.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.532, allocations: 1.156 kB / 0.7283 GB, free: 90.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005792/1.538, allocations: 1.338 MB / 0.7296 GB, free: 90.41 MB / 442.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 (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 (124): * Single equations (assignments): 118 * 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.007162/1.545, allocations: 5.342 MB / 0.7348 GB, free: 88.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007423/1.552, allocations: 4.732 MB / 0.7394 GB, free: 87.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.552, allocations: 0.7188 kB / 0.7394 GB, free: 87.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002826/1.555, allocations: 1.906 MB / 0.7413 GB, free: 86.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/1.559, allocations: 0.6381 MB / 0.7419 GB, free: 86.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/1.575, allocations: 6.512 MB / 0.7483 GB, free: 85.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002174/1.578, allocations: 2.581 MB / 0.7508 GB, free: 84.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003694/1.581, allocations: 0.8352 MB / 0.7516 GB, free: 84.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00208/1.584, allocations: 1.349 MB / 0.7529 GB, free: 84.43 MB / 442.7 MB Notification: Performance of SimCode: time 1.774e-06/1.584, allocations: 4 kB / 0.7529 GB, free: 84.43 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1185/1.702, allocations: 74.98 MB / 0.8262 GB, free: 38.82 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/1.702, allocations: 228 kB / 0.8264 GB, free: 38.52 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.762/6.465, allocations: 8.938 kB / 0.8264 GB, free: 38.52 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Rectifier.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)