Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001597/0.001597, allocations: 198.2 kB / 8.768 MB, free: 316 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008469/0.0008469, allocations: 105.5 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.871e-05, allocations: 0 / 343.8 MB, free: 8.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 51.47 MB / 395.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.411/0.5244, allocations: 132.9 MB / 0.5158 GB, free: 9.293 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.5247, allocations: 94.94 kB / 0.5159 GB, free: 9.242 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5317/1.056, allocations: 98.53 MB / 0.6121 GB, free: 76.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.056, allocations: 0 / 0.6121 GB, free: 76.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004929/1.057, allocations: 97.95 kB / 0.6122 GB, free: 76.4 MB / 442.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.01439/1.071, allocations: 3.784 MB / 0.6159 GB, free: 74.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/1.071, allocations: 9.938 kB / 0.6159 GB, free: 74.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00699/1.078, allocations: 0.9049 MB / 0.6168 GB, free: 74.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/1.091, allocations: 3.635 MB / 0.6203 GB, free: 73.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/1.092, allocations: 118.2 kB / 0.6204 GB, free: 73.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001563/1.093, allocations: 218.6 kB / 0.6206 GB, free: 73.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01064/1.104, allocations: 3.494 MB / 0.624 GB, free: 73.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/1.117, allocations: 4.033 MB / 0.628 GB, free: 71.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002362/1.118, allocations: 5.156 kB / 0.628 GB, free: 71.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001403/1.119, allocations: 4.469 kB / 0.628 GB, free: 71.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002712/1.119, allocations: 157.1 kB / 0.6281 GB, free: 71.67 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03209/1.152, allocations: 15.4 MB / 0.6432 GB, free: 62.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006808/1.158, allocations: 7.936 MB / 0.6509 GB, free: 56.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002655/1.161, allocations: 1.653 MB / 0.6525 GB, free: 55.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00891/1.17, allocations: 5.515 MB / 0.6579 GB, free: 51.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/1.17, allocations: 63.95 kB / 0.658 GB, free: 51.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=174): time 4.078e-06/1.17, allocations: 0 / 0.658 GB, free: 51.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.01177/1.182, allocations: 5.498 MB / 0.6634 GB, free: 49.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/1.182, allocations: 174.2 kB / 0.6635 GB, free: 49.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002674/1.185, allocations: 1.591 MB / 0.6651 GB, free: 48.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001651/1.185, allocations: 29.23 kB / 0.6651 GB, free: 48.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008513/1.186, allocations: 1.711 MB / 0.6668 GB, free: 47.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/1.186, allocations: 0.5775 MB / 0.6673 GB, free: 46.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.894e-05/1.186, allocations: 0 / 0.6673 GB, free: 46.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/1.186, allocations: 395.5 kB / 0.6677 GB, free: 46.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009879/1.187, allocations: 0.7721 MB / 0.6685 GB, free: 45.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/1.189, allocations: 1.385 MB / 0.6698 GB, free: 44.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/1.191, allocations: 1.241 MB / 0.671 GB, free: 44.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/1.191, allocations: 3.625 kB / 0.671 GB, free: 44.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005008/1.196, allocations: 2.971 MB / 0.6739 GB, free: 43.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001417/1.197, allocations: 7.744 MB / 0.6815 GB, free: 34.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-05/1.197, allocations: 25.59 kB / 0.6815 GB, free: 34.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009541/1.198, allocations: 463.4 kB / 0.682 GB, free: 34.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/1.2, allocations: 479.2 kB / 0.6824 GB, free: 34.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005437/1.206, allocations: 7.753 MB / 0.69 GB, free: 28.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/1.208, allocations: 56.06 kB / 0.6901 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/1.208, allocations: 96.64 kB / 0.6901 GB, free: 28.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/1.208, allocations: 7.156 kB / 0.6902 GB, free: 28.46 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004769/1.213, allocations: 2.699 MB / 0.6928 GB, free: 27.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-05/1.213, allocations: 25.81 kB / 0.6928 GB, free: 27.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008142/1.214, allocations: 462 kB / 0.6933 GB, free: 27.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/1.215, allocations: 475.2 kB / 0.6937 GB, free: 27.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005492/1.221, allocations: 7.755 MB / 0.7013 GB, free: 20.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/1.223, allocations: 48.92 kB / 0.7013 GB, free: 20.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/1.223, allocations: 99.88 kB / 0.7014 GB, free: 20.91 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.0004894/1.224, allocations: 166.4 kB / 0.7016 GB, free: 20.76 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004972/1.229, allocations: 2.654 MB / 0.7042 GB, free: 19.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006701/1.23, allocations: 237.7 kB / 0.7044 GB, free: 19.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004948/1.235, allocations: 2.75 MB / 0.7071 GB, free: 18.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/1.235, allocations: 22.41 kB / 0.7071 GB, free: 18.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.235, allocations: 3.562 kB / 0.7071 GB, free: 18.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/1.235, allocations: 7.406 kB / 0.7071 GB, free: 18.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/1.246, allocations: 5.449 MB / 0.7124 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.246, allocations: 3.938 kB / 0.7124 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.247, allocations: 242.3 kB / 0.7127 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/1.248, allocations: 0.6362 MB / 0.7133 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/1.248, allocations: 25.98 kB / 0.7133 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008928/1.257, allocations: 12.09 MB / 0.7251 GB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.257, allocations: 4 kB / 0.7251 GB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00571/1.263, allocations: 3.953 MB / 0.729 GB, free: 456 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.264, allocations: 485.3 kB / 0.7295 GB, free: 0 / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005661/1.265, allocations: 13.95 kB / 0.7295 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/1.266, allocations: 62.8 kB / 0.7295 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003265/1.266, allocations: 133.6 kB / 0.7297 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.266, allocations: 47.47 kB / 0.7297 GB, free: 15.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001951/1.268, allocations: 1.176 MB / 0.7308 GB, free: 14.74 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.623e-06/1.268, allocations: 112 / 0.7308 GB, free: 14.74 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005768/1.274, allocations: 1.191 MB / 0.732 GB, free: 13.56 MB / 458.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.00754/1.282, allocations: 5.305 MB / 0.7372 GB, free: 8.637 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006353/1.288, allocations: 4.474 MB / 0.7416 GB, free: 4.332 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.288, allocations: 0 / 0.7416 GB, free: 4.332 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002797/1.291, allocations: 1.808 MB / 0.7433 GB, free: 2.609 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/1.295, allocations: 0.501 MB / 0.7438 GB, free: 2.203 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3041/1.599, allocations: 6.312 MB / 0.75 GB, free: 81.65 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/1.601, allocations: 2.592 MB / 0.7525 GB, free: 80.89 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003192/1.604, allocations: 0.7704 MB / 0.7533 GB, free: 80.87 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/1.606, allocations: 1.354 MB / 0.7546 GB, free: 80.87 MB / 458.7 MB Notification: Performance of SimCode: time 1.302e-06/1.606, allocations: 0 / 0.7546 GB, free: 80.87 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/1.725, allocations: 63.8 MB / 0.8169 GB, free: 77.43 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/1.725, allocations: 200.3 kB / 0.8171 GB, free: 77.23 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.357/6.082, allocations: 2.953 kB / 0.8171 GB, free: 77.23 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Rectifier.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)